Skip to content

Commit

Permalink
Firefox: hide navigation toolbars only when top menu is inactive (#288)
Browse files Browse the repository at this point in the history
* Firefox: hide navigation toolbars only when top menu is inactive

* Firefox: only hide navbar when user isn't interacting with it
  • Loading branch information
infinity0 authored May 8, 2024
1 parent d77d12c commit dc9db13
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#nav-bar, #identity-box, #tabbrowser-tabs, #TabsToolbar {
visibility: collapse;
#navigator-toolbox:not(:hover, :focus, :active) {
#toolbar-menubar[inactive="true"] ~ #TabsToolbar,
#titlebar:has(#toolbar-menubar[inactive="true"]) ~ #nav-bar {
visibility: collapse;
}
}

#nav-bar * {
Expand Down

0 comments on commit dc9db13

Please sign in to comment.