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:
Alexander Onnikov
2025-09-26 22:12:53 +05:00
committed by GitHub
parent 8a7f78c59a
commit ab615338e3
@@ -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}
>