Skip to content

Commit

Permalink
Refactor sidebar CSS to use variable for margin calculation and remov…
Browse files Browse the repository at this point in the history
…e unnecessary border
  • Loading branch information
mauro-balades committed Jan 31, 2025
1 parent 4975ff6 commit e717514
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/browser/base/content/zen-styles/zen-sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@
#zen-tabbox-wrapper {
& #sidebar-splitter {
opacity: 0;
margin-inline-end: -4px;
margin: 0 calc(-1 * var(--zen-element-separation));
}

& #sidebar-box {
border-radius: var(--zen-native-inner-radius);
box-shadow: var(--zen-big-shadow);
overflow: hidden;
border: 1px solid var(--zen-colors-border);

:root:not([zen-right-side='true']) &[positionend='true'] {
margin-right: var(--zen-element-separation);
Expand Down

0 comments on commit e717514

Please sign in to comment.