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:
parent
bf81ba74fb
commit
b08805185f
1 changed files with 8 additions and 0 deletions
|
@ -28,6 +28,14 @@ See the above repository for updates as well as full license text. */
|
||||||
#sidebar-header{
|
#sidebar-header{
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
color: var(--chrome-color, inherit) !important;
|
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{
|
#sidebar-switcher-target{
|
||||||
|
|
Loading…
Reference in a new issue