Fixed weird spacing with top buttons on collapsed mode and fixed not being able to access top buttons also in collapsed mode

This commit is contained in:
mr. M
2024-12-16 23:04:23 +01:00
parent 2a41e8c8b0
commit e31e18b3f3

View File

@@ -553,6 +553,13 @@
:root[customizing] & #zen-sidebar-icons-wrapper {
min-width: unset !important;
}
#zen-sidebar-top-buttons:has(#zen-sidebar-top-buttons-customization-target:empty) {
max-height: 0 !important;
min-height: 0 !important;
opacity: 0;
overflow: hidden;
pointer-events: none;
}
& #zen-sidebar-top-buttons {
justify-content: center;
max-height: unset !important;
@@ -939,7 +946,7 @@
@media not (-moz-bool-pref: 'zen.view.compact') {
:root[zen-right-side='true']:not([zen-sidebar-expanded='true']):not([zen-window-buttons-reversed='true']) {
& #navigator-toolbox {
padding-top: var(--zen-toolbar-height);
margin-top: var(--zen-toolbar-height) !important;
}
& .titlebar-buttonbox-container {
@@ -961,7 +968,7 @@
:root:not([zen-right-side='true']):not([zen-sidebar-expanded='true'])[zen-window-buttons-reversed='true'] {
& #navigator-toolbox {
padding-top: var(--zen-toolbar-height);
margin-top: var(--zen-toolbar-height) !important;
}
& .titlebar-buttonbox-container {