From 3cb910790ff556143db2d217d7178de86df3bf71 Mon Sep 17 00:00:00 2001 From: Tuxedo Takodachi Date: Sat, 18 Mar 2023 10:27:32 +0100 Subject: [PATCH] Port: Remove empty space from ads if they don't load. https://kissu.moe/b/res/7155#11052 from aef984da1a6af4d0003b51e7f03bce252ac71dff --- src/css/style.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/css/style.css b/src/css/style.css index b00e25933..03deed8bb 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -137,8 +137,9 @@ body.hasDropDownNav{ height: auto !important; } :root.sw-yotsuba:not(.ads-loaded) hr.abovePostForm, -:root.sw-yotsuba:not(.ads-loaded) .adg-rects > hr, -:root.sw-yotsuba #adg-ol + hr { +:root.sw-yotsuba:not(.ads-loaded) .adg-rects>hr, +:root.sw-yotsuba #adg-ol+hr, +:root.sw-yotsuba .danbo-slot:empty { display: none; } :root.sw-yotsuba .adg-rects {