autohide sidebar: add optional way to also hide sidebar main

This commit is contained in:
MrOtherGuy
2026-01-16 16:11:00 +02:00
parent 021da269f0
commit bcb85f0476

View File

@@ -145,4 +145,9 @@ See the above repository for updates as well as full license text. */
transform: translateX(calc(var(--uc-sidebar-hover-width) - var(--uc-sidebar-width)));
transition-delay: 0ms !important;
}
}
}
@media -moz-pref("userchrome.autohide-sidebar.hide-main-sidebar"){
#sidebar-main[sidebar-panel-open]{
contain: strict;
}
}