From 1768e4a5cd0402c9ac70588cb920316f03d3437a Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Mon, 30 May 2022 16:01:38 +0800 Subject: [PATCH] Remove vidcrunch hacks These are mostly supression of the video floaters. --- ui/scss/component/_ads.scss | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/ui/scss/component/_ads.scss b/ui/scss/component/_ads.scss index df7f56645..0e09e4bd2 100644 --- a/ui/scss/component/_ads.scss +++ b/ui/scss/component/_ads.scss @@ -72,43 +72,13 @@ display: block; } - div[style*='transform-origin: left bottom'], - div[style*='transform-origin: right bottom'] { - // [Floating ad] - // Hide for now since can't get it to work in a consistent manner between: - // - EU and non-EU version - // - issues in Firefox - // - floater not taking browser zoom levels into account (close button off screen). - // - many more... - display: none !important; - } - - #aniBox { - transition: unset !important; - } - - #aniBox[style*='height: 1px'] { - display: none; - } - #aniBox, #av-container { - width: 100% !important; - height: unset !important; - aspect-ratio: 16 / 9 !important; border-radius: var(--border-radius); } .avp-p-wrapper > div { - border-radius: var(--border-radius) !important; // Needed for EU only - } - - #av-container #av-inner #gui #close-btn { - // The current version started displaying the close button on video ads. - // It closes the video but leaves the container behind. Since there will - // be changes in the near future which the end result won't have this - // issue, just hide it for now. - display: none !important; + border-radius: var(--border-radius); } }