From bcb85f04764802557fc1d1dff6f53461065e4893 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Fri, 16 Jan 2026 16:11:00 +0200 Subject: [PATCH] autohide sidebar: add optional way to also hide sidebar main --- chrome/autohide_sidebar.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/chrome/autohide_sidebar.css b/chrome/autohide_sidebar.css index c3c0d07..e673aa3 100644 --- a/chrome/autohide_sidebar.css +++ b/chrome/autohide_sidebar.css @@ -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; } -} \ No newline at end of file +} +@media -moz-pref("userchrome.autohide-sidebar.hide-main-sidebar"){ + #sidebar-main[sidebar-panel-open]{ + contain: strict; + } +}