fix: Fixed compact mode double toolbar, b=(no-bug), c=compact-mode, workspaces

This commit is contained in:
Mr. M
2025-05-20 07:46:53 +02:00
parent 53ea662ef7
commit 0392d60352
2 changed files with 5 additions and 2 deletions

View File

@@ -69,8 +69,11 @@
height: calc(100% - var(--zen-element-separation));
}
:root:not([zen-single-toolbar='true']) & {
height: calc(100% - var(--zen-toolbar-height));
top: calc(var(--zen-element-separation) / -2);
height: calc(100% - var(--zen-toolbar-height));
@media -moz-pref('zen.view.compact.hide-toolbar') {
height: 100%;
}
}
& #zen-sidebar-top-buttons {
margin: 0 0 calc(var(--zen-toolbox-padding) / 2) 0;

View File

@@ -522,7 +522,7 @@ zen-workspace {
}
&[overflowing] {
--zen-scrollbar-overflow-background: light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1));
--zen-scrollbar-overflow-background: light-dark(rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0.08));
&::before {
content: '';
position: absolute;