fix(discover): fixed border radius

This commit is contained in:
trashtemp 2022-01-11 21:26:22 +01:00
parent 1cdc6b51df
commit 7da7bc8ef7
No known key found for this signature in database
GPG key ID: D1F0DB65081B0FC6

View file

@ -38,8 +38,13 @@ const Container = styled.div`
const Frame = styled.iframe<{ loaded: boolean }>` const Frame = styled.iframe<{ loaded: boolean }>`
border: 0; 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) =>
props.loaded props.loaded