mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 23:22:06 -05:00
fix(discover): changed background color on load
This commit is contained in:
parent
d6a541f380
commit
9c8de2b454
1 changed files with 10 additions and 1 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue