From 485c4e84797ef87cfaac1e2821f56c6912c494f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Thu, 8 Dec 2022 16:35:32 +0100 Subject: [PATCH] fix: overflowing videos --- src/components/VideoPlayer.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/VideoPlayer.svelte b/src/components/VideoPlayer.svelte index 07b476d..39bc1cb 100644 --- a/src/components/VideoPlayer.svelte +++ b/src/components/VideoPlayer.svelte @@ -37,6 +37,7 @@ background: rgba(0, 0, 0, 0.88); video { width: 90%; + max-height: 100%; position: absolute; top: 50%; left: 50%;