mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-05 23:25:44 -05:00
fix(discover): fixed border radius
This commit is contained in:
parent
1cdc6b51df
commit
7da7bc8ef7
1 changed files with 7 additions and 2 deletions
|
@ -38,8 +38,13 @@ const Container = styled.div`
|
|||
|
||||
const Frame = styled.iframe<{ loaded: boolean }>`
|
||||
border: 0;
|
||||
border-start-start-radius: 8px;
|
||||
border-end-start-radius: 8px;
|
||||
|
||||
${() =>
|
||||
!isTouchscreenDevice &&
|
||||
css`
|
||||
border-start-start-radius: 8px;
|
||||
border-end-start-radius: 8px;
|
||||
`}
|
||||
|
||||
${(props) =>
|
||||
props.loaded
|
||||
|
|
Loading…
Reference in a new issue