From b08805185f3d6902cedff5ba5590ae881284e10b Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Wed, 16 Nov 2022 09:25:07 +0200 Subject: [PATCH] autohide_sidebar: create sidebar-header padding using pseudo-elements. This works around a layout issue where header inline-padding prevents it from collapsing to zero-width in fullscreen mode. --- chrome/autohide_sidebar.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/chrome/autohide_sidebar.css b/chrome/autohide_sidebar.css index 364f360..21a518d 100644 --- a/chrome/autohide_sidebar.css +++ b/chrome/autohide_sidebar.css @@ -28,6 +28,14 @@ See the above repository for updates as well as full license text. */ #sidebar-header{ overflow: hidden; color: var(--chrome-color, inherit) !important; + padding-inline: 0 !important; +} + +#sidebar-header::before, +#sidebar-header::after{ + content: ""; + display: -moz-box; + padding-left: 8px; } #sidebar-switcher-target{