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
|
||||
className={clsx('relative z-[1] block', {
|
||||
'object-contain max-h-full': inline && !fullscreen,
|
||||
'h-full w-full outline-0 !max-h-full !max-w-full': fullscreen,
|
||||
className={clsx('relative z-[1] block h-full max-h-full', {
|
||||
'object-contain': inline && !fullscreen,
|
||||
'w-full outline-0 !max-h-full !max-w-full': fullscreen,
|
||||
})}
|
||||
ref={video}
|
||||
src={src}
|
||||
|
|
Loading…
Reference in a new issue