From f56c50fdd152625d52dd2b9606a2fed3115e103d Mon Sep 17 00:00:00 2001 From: OIRNOIR <70721372+OIRNOIR@users.noreply.github.com> Date: Thu, 5 Oct 2023 21:52:10 -0700 Subject: [PATCH] Fixed an issue where some videos could be cut off when the window width is narrow --- src/main.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.css b/src/main.css index 3bb05b8..5a15c8e 100644 --- a/src/main.css +++ b/src/main.css @@ -6,8 +6,8 @@ div[style*="aspect-ratio"]:not([class*="embed-"] div) { video[style*="width"]:not(#gif-picker-tab-panel video):not([style*="width: auto"]):not(div.media-engine-video video) { width: unset !important; height: unset !important; - max-width: 100%; - max-height: 100%; + max-width: 100% !important; + max-height: 100% !important; } [class*="imageWrapper-"]:has(video[style*="width"]:not(#gif-picker-tab-panel video):not([style*="width: auto"]):not(div.media-engine-video video)) > div {