diff --git a/CSS/disable-static-drawer.css b/CSS/disable-static-drawer.css index 07320dd..6c47a2f 100644 --- a/CSS/disable-static-drawer.css +++ b/CSS/disable-static-drawer.css @@ -52,7 +52,7 @@ } /* Show hamburger button */ -.layout-desktop .mainDrawerButton:not(.dashboardDocument) { +.layout-desktop body:not(.hideMainDrawer) .mainDrawerButton:not(.dashboardDocument) { display: inline-flex !important; } @@ -72,11 +72,11 @@ margin-left: 0px !important; } -/* Hide home button */ -.layout-desktop .headerHomeButton { +/* Re-enable home button */ +.layout-desktop body:not(.hideMainDrawer) .headerHomeButton { display: block !important; } -.layout-desktop .dashboardDocument .headerHomeButton { +.layout-desktop body:not(.hideMainDrawer) .dashboardDocument .headerHomeButton { display: block !important; } @@ -86,7 +86,7 @@ } /* Background for top left buttons */ -.layout-desktop .headerLeft:not(.libraryDocument:has(.videoPlayerContainer) .headerLeft) { +.layout-desktop body:not(.hideMainDrawer) .headerLeft:not(.libraryDocument:has(.videoPlayerContainer) .headerLeft) { padding: 2px !important; top: -3px !important; background-color: var(--primary-background-transparent) !important; @@ -95,7 +95,7 @@ } /* Fix for JMP */ @supports not selector(:has(*)) { - .layout-desktop .headerLeft { + .layout-desktop body:not(.hideMainDrawer) .headerLeft { padding: 2px !important; top: -3px !important; background-color: var(--primary-background-transparent) !important;