From ae61c3c3f8bb24247a93e72680a0a2e9dd4511f7 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 17 Dec 2019 00:28:51 -0800 Subject: [PATCH] Fix clash between 4chan X header bar and native header bars. #2171 --- src/css/style.css | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/css/style.css b/src/css/style.css index 0e186fd42..fbb5a206c 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -169,8 +169,16 @@ body.hasDropDownNav{ .gal-buttons.gal-buttons a { font-size: inherit; } +:root.sw-tinyboard.fixed.top-header:not(.autohide) .boardlist, +:root.sw-tinyboard.fixed.top-header:not(.autohide) .bar.top { + position: static; +} +:root.sw-tinyboard.fixed.top-header.autohide .boardlist, +:root.sw-tinyboard.fixed.top-header.autohide .bar.top { + z-index: 3; +} -/* Tinyboard site style fixes */ +/* Tinyboard site style conflicts */ :root[data-host="fufufu.moe"].fixed.top-header:not(.autohide) div.pages.top, :root[data-host="merorin.com"].fixed.top-header:not(.autohide) span.settings { top: 26px; @@ -178,6 +186,12 @@ body.hasDropDownNav{ :root[data-host="fufufu.moe"]:not(.fixed) #header-bar { margin-top: 38px; } +:root[data-host="lainchan.org"]:not(.fixed) #header-bar { + margin-top: 17px; +} +:root[data-host="smuglo.li"]:not(.fixed) #header-bar { + margin-top: 8px; +} /* Anti-autoplay */ audio.controls-added {