From 4ea6b848d176fce0122bb25bfd77cc0dba19f0c8 Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Tue, 31 May 2022 18:39:14 +0800 Subject: [PATCH] Fix stray floater in mobile Oddly, it only appears in Channel Page, not the Home Page. Should be the same thing... --- ui/scss/component/_ads.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/scss/component/_ads.scss b/ui/scss/component/_ads.scss index 9ef150131..9032d6f5e 100644 --- a/ui/scss/component/_ads.scss +++ b/ui/scss/component/_ads.scss @@ -17,7 +17,7 @@ .avp-p-wrapper { // Hide by default, so that any stray floater won't be visible. - // We'll enable it only within our designated container. + // We'll enable it only within our designated container (see below). display: none; } @@ -71,6 +71,10 @@ display: block; } + .avp-p-wrapper.av-floating { + display: none; + } + #aniBox, #av-container { border-radius: var(--border-radius);