From 41ea98a80fc84c3b892315e8631a418e20348401 Mon Sep 17 00:00:00 2001 From: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com> Date: Fri, 22 Nov 2024 17:38:02 -0800 Subject: [PATCH] Fix lightbox video styles --- stylesheets/components/Lightbox.scss | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/stylesheets/components/Lightbox.scss b/stylesheets/components/Lightbox.scss index cd97e792eb37..0c766edd1690 100644 --- a/stylesheets/components/Lightbox.scss +++ b/stylesheets/components/Lightbox.scss @@ -95,6 +95,13 @@ } &__object { + height: auto; + max-height: 100%; + max-width: 100%; + object-fit: contain; + outline: none; + width: auto; + &--container { display: inline-flex; flex-grow: 1; @@ -122,15 +129,6 @@ width: calc(100% - 80px); } } - - & { - height: auto; - max-height: 100%; - max-width: 100%; - object-fit: contain; - outline: none; - width: auto; - } } &__unsupported {