Skip to content

Commit

Permalink
Update zen-toolbox-padding calculation for improved responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
mauro-balades committed Jan 15, 2025
1 parent 59bf540 commit 899567b
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,7 @@
}

#browser {
--zen-toolbox-padding: calc(var(--zen-element-separation) / 1.5);
:root[zen-no-padding='true'] & {
--zen-toolbox-padding: 4px;
}
--zen-toolbox-padding: max(4px, calc(var(--zen-element-separation) / 1.5));
}

:root[zen-single-toolbar='true'] {
Expand Down

0 comments on commit 899567b

Please sign in to comment.