mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 04:25:03 +02:00
fix: use known aspect ratio for video to prevent scroll (#9954)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
|
||||
<div
|
||||
class="flex justify-center w-full"
|
||||
style:aspect-ratio={fit ? undefined : aspectRatio}
|
||||
style:aspect-ratio={aspectRatio}
|
||||
style:max-width={fit ? '100%' : maxWidth}
|
||||
style:max-height={fit ? '100%' : maxHeight}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user