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.
This commit is contained in:
MrOtherGuy 2022-11-16 09:25:07 +02:00
parent bf81ba74fb
commit b08805185f

View file

@ -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{