mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
fix: Fixed right side tabs on collapsed mode shifting the browser to the right, b=(no-bug), c=compact-mode, tabs
This commit is contained in:
@@ -112,6 +112,9 @@
|
||||
#navigator-toolbox:not([animate='true']) #titlebar {
|
||||
border-radius: calc(var(--zen-native-inner-radius) + var(--zen-element-separation) / 4);
|
||||
padding: var(--zen-toolbox-padding) !important;
|
||||
:root:not([zen-sidebar-expanded='true']) & {
|
||||
padding: var(--zen-toolbox-padding) 0 !important;
|
||||
}
|
||||
position: relative;
|
||||
background: var(--zen-dialog-background);
|
||||
outline: 1px solid var(--zen-colors-border-contrast);
|
||||
|
@@ -441,7 +441,7 @@
|
||||
scrollbar-color: color-mix(in srgb, currentColor 26%, transparent) transparent; /* Custom scrollbar */
|
||||
|
||||
/* Negative margin hack for workspace transitions (only if workspaces are enabled) */
|
||||
:root[zen-workspace-id] & {
|
||||
:root[zen-workspace-id][zen-sidebar-expanded='true'] & {
|
||||
margin-left: calc(-1 * var(--zen-toolbox-padding));
|
||||
width: calc(100% + var(--zen-toolbox-padding) * 2);
|
||||
}
|
||||
@@ -755,6 +755,13 @@
|
||||
& .zen-essentials-container {
|
||||
justify-content: center;
|
||||
grid-template-columns: 1fr !important;
|
||||
padding: 0 !important;
|
||||
max-width: var(--zen-sidebar-width) !important;
|
||||
min-width: unset !important;
|
||||
}
|
||||
|
||||
& #zen-essentials-wrapper {
|
||||
margin-left: unset !important;
|
||||
}
|
||||
|
||||
/* Style new tab button when collapsed */
|
||||
|
Reference in New Issue
Block a user