🩹(frontend) fix border radius issue on safari
I introduced a bug while moving the border radius css style to the parent element of the video. On safari, the video element wasn't rounded anymore. Fix this! Please note our approach should be refactored, nit-picking, but there are few pixels leaking from the black background on the video corner.
This commit is contained in:
committed by
aleb_the_flash
parent
6935001aab
commit
db51ca1aa5
@@ -82,7 +82,8 @@ const Effects = ({
|
||||
bottom: 0,
|
||||
height: '20%',
|
||||
backgroundImage:
|
||||
'linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(255,255,255,0) 100%)',
|
||||
'linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(255,255,255,0) 100%)',
|
||||
borderBottomRadius: '1rem',
|
||||
})}
|
||||
/>
|
||||
</>
|
||||
@@ -267,12 +268,13 @@ export const Join = ({
|
||||
height="720"
|
||||
className={css({
|
||||
display: 'block',
|
||||
width: '102%',
|
||||
height: '102%',
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
objectFit: 'cover',
|
||||
transform: 'rotateY(180deg)',
|
||||
opacity: 0,
|
||||
transition: 'opacity 0.3s ease-in-out',
|
||||
borderRadius: '1rem',
|
||||
})}
|
||||
disablePictureInPicture
|
||||
disableRemotePlayback
|
||||
|
||||
Reference in New Issue
Block a user