Skip to content

Commit 45d0dac

Browse files
committed
Refactor zen-compact-mode.css for improved UI layout
1 parent 6a98366 commit 45d0dac

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@
150150
padding-left: var(--zen-element-separation) !important;
151151
}
152152

153+
#zen-appcontent-navbar-container {
154+
z-index: 2;
155+
}
156+
153157
@media (-moz-bool-pref: 'zen.view.compact.hide-toolbar') {
154158
#zen-appcontent-navbar-container {
155159
--urlbar-height: unset;
@@ -160,10 +164,11 @@
160164
width: 100%;
161165
border-bottom-left-radius: 8px;
162166
border-bottom-right-radius: 8px;
167+
border-top-left-radius: env(-moz-gtk-csd-titlebar-radius);
168+
border-top-right-radius: env(-moz-gtk-csd-titlebar-radius);
163169
border-bottom: 1px solid var(--zen-colors-border);
164170
top: 0;
165171
background: var(--zen-colors-tertiary);
166-
z-index: 2;
167172
transition: 0.2s ease-in-out;
168173
}
169174

0 commit comments

Comments
 (0)