pl-fe: Fix video positioning
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
86ba7535c4
commit
6aac80117b
1 changed files with 3 additions and 3 deletions
|
@ -477,9 +477,9 @@ const Video: React.FC<IVideo> = ({
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<video
|
<video
|
||||||
className={clsx('relative z-[1] block', {
|
className={clsx('relative z-[1] block h-full max-h-full', {
|
||||||
'object-contain max-h-full': inline && !fullscreen,
|
'object-contain': inline && !fullscreen,
|
||||||
'h-full w-full outline-0 !max-h-full !max-w-full': fullscreen,
|
'w-full outline-0 !max-h-full !max-w-full': fullscreen,
|
||||||
})}
|
})}
|
||||||
ref={video}
|
ref={video}
|
||||||
src={src}
|
src={src}
|
||||||
|
|
Loading…
Reference in a new issue