fix(discover): changed background color on load

This commit is contained in:
trashtemp 2022-01-14 18:32:03 +01:00
parent d6a541f380
commit 9c8de2b454
No known key found for this signature in database
GPG key ID: D1F0DB65081B0FC6

View file

@ -32,7 +32,7 @@ const Container = styled.div`
background: var(--background);
`
: css`
background: var(--secondary-background);
background: var(--background);
`}
`;
@ -42,6 +42,7 @@ const Frame = styled.iframe<{ loaded: boolean }>`
${() =>
!isTouchscreenDevice &&
css`
background: var(--secondary-background);
border-start-start-radius: 8px;
border-end-start-radius: 8px;
`}
@ -58,6 +59,14 @@ const Frame = styled.iframe<{ loaded: boolean }>`
const Loader = styled.div`
flex-grow: 1;
${() =>
!isTouchscreenDevice &&
css`
background: var(--secondary-background);
border-start-start-radius: 8px;
border-end-start-radius: 8px;
`}
`;
const TRUSTED_HOSTS = [