Skip to content

Commit 83cda12

Browse files
committed
fix: Fixed caption buttons showing native panel when hidden, b=closes #10973, c=compact-mode, tabs
1 parent 5500ee9 commit 83cda12

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/zen/compact-mode/windows-captions-fix-default.inc.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,9 @@
1111
* web content */
1212
transition: max-height 0s;
1313
transition-delay: calc(var(--zen-hidden-toolbar-transition-duration) + 0.2s);
14+
15+
& .titlebar-button {
16+
padding-top: 0 !important;
17+
padding-bottom: 0 !important;
18+
}
1419
}

src/zen/tabs/zen-tabs/vertical-tabs-topbar.inc.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ z-index: 1;
3030
}
3131

3232
%include ../../compact-mode/windows-captions-fix-default.inc.css
33-
34-
& .titlebar-button {
35-
padding-top: 0 !important;
36-
padding-bottom: 0 !important;
37-
}
3833
}
3934

4035
@media -moz-pref('zen.view.experimental-no-window-controls') {

0 commit comments

Comments
 (0)