fix: Fixed compact mode sidebar showing an extra pixel, b=(no-bug), c=compact-mode

This commit is contained in:
Mr. M
2025-05-01 17:04:51 +02:00
parent beab17074d
commit 02c429993c

View File

@@ -76,7 +76,7 @@
}
&:not([zen-right-side='true']) #navigator-toolbox {
left: calc(-1 * var(--actual-zen-sidebar-width) + 1px);
left: calc(-1 * var(--actual-zen-sidebar-width));
}
/* When we have multiple toolbars and the top-toolbar is NOT being hidden,
@@ -95,12 +95,8 @@
}
&[zen-right-side='true'] {
& #navigator-toolbox {
--zen-compact-float: calc(var(--zen-element-separation) + 1px);
&:not([animate='true']) {
right: calc(-1 * var(--actual-zen-sidebar-width) + 1px);
}
& #navigator-toolbox:not([animate='true']) {
right: calc(-1 * var(--actual-zen-sidebar-width));
}
& .browserSidebarContainer {