Skip to content

Commit

Permalink
Make sure to hide the URL bar when hiding it on multiple toolbar comp…
Browse files Browse the repository at this point in the history
…act mode
  • Loading branch information
mauro-balades committed Feb 25, 2025
1 parent 279849d commit dc1c166
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/browser/base/content/zen-styles/zen-compact-mode.css
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@
position: relative !important;
}

& #urlbar {
opacity: 0;
}

@media (-moz-bool-pref: 'zen.view.compact.color-toolbar') {
background-attachment: fixed;
background: var(--zen-main-browser-background-toolbar);
Expand Down Expand Up @@ -346,8 +350,13 @@
mix-blend-mode: overlay;
}

& #urlbar:not([zen-floating-urlbar='true']) {
& #urlbar {
opacity: 1;
}

& #urlbar[breakout-extend='true']:not([zen-floating-urlbar='true']) {
top: 2px !important;
opacity: 1;
}
}
}
Expand Down

0 comments on commit dc1c166

Please sign in to comment.