forked from abner/for-legacy-web
fix(discover): fixed border radius
parent
1cdc6b51df
commit
7da7bc8ef7
|
|
@ -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 New Issue