From ea479f8225db289ac169a608247e5efc8f771cf2 Mon Sep 17 00:00:00 2001 From: Sysy's Date: Tue, 31 Mar 2026 15:23:37 +0200 Subject: [PATCH] Remove ads if aspect ratio bad --- web/assets/css/index.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/web/assets/css/index.css b/web/assets/css/index.css index c14b521..f7f3106 100644 --- a/web/assets/css/index.css +++ b/web/assets/css/index.css @@ -67,6 +67,10 @@ body { aspect-ratio: 9 / 16; } +.leftadsbanner.is-hidden { + display: none; +} + .hero-content { max-width: 90vw; text-align: left; @@ -198,6 +202,11 @@ body { margin-right: 0.45em; flex-shrink: 0; } + + .adsbanner, + .leftadsbanner { + display: none; + } } .hero-play-button {