Skip to content

Commit dc1c166

Browse files
committed
Make sure to hide the URL bar when hiding it on multiple toolbar compact mode
1 parent 279849d commit dc1c166

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/browser/base/content/zen-styles/zen-compact-mode.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,10 @@
312312
position: relative !important;
313313
}
314314

315+
& #urlbar {
316+
opacity: 0;
317+
}
318+
315319
@media (-moz-bool-pref: 'zen.view.compact.color-toolbar') {
316320
background-attachment: fixed;
317321
background: var(--zen-main-browser-background-toolbar);
@@ -346,8 +350,13 @@
346350
mix-blend-mode: overlay;
347351
}
348352

349-
& #urlbar:not([zen-floating-urlbar='true']) {
353+
& #urlbar {
354+
opacity: 1;
355+
}
356+
357+
& #urlbar[breakout-extend='true']:not([zen-floating-urlbar='true']) {
350358
top: 2px !important;
359+
opacity: 1;
351360
}
352361
}
353362
}

0 commit comments

Comments
 (0)