fix: adjust padding for right-side toolbar buttons when window buttons are not reversed

This commit is contained in:
mr. m
2025-04-04 16:58:12 +02:00
parent 5e7423bdce
commit 91c993da13
2 changed files with 5 additions and 1 deletions

View File

@@ -187,3 +187,7 @@
}
}
}
:root[zen-window-buttons-reversed='true'][zen-right-side='true'] .titlebar-buttonbox-container {
margin-inline-start: calc(var(--zen-element-separation) - 3px);
}

View File

@@ -965,7 +965,7 @@
padding-inline-start: var(--toolbarbutton-outer-padding);
}
:root[zen-right-side='true'] & {
:root[zen-right-side='true']:not([zen-window-buttons-reversed='true']) {
padding-inline-end: var(--zen-toolbox-padding);
}