Add min-width to toolbox in compact mode styles

This commit is contained in:
mr. m
2025-04-08 23:53:34 +02:00
parent 295a2bb8b8
commit 0cb80ace3f

View File

@@ -114,6 +114,8 @@
background: var(--zen-dialog-background);
outline: 1px solid var(--zen-colors-border-contrast);
outline-offset: -1px;
min-width: var(--zen-toolbox-min-width);
/* times 4 because we have the inner padding and the outter padding to consider */
:root[zen-sidebar-expanded='true'] & {
width: calc(var(--zen-sidebar-width) - var(--zen-toolbox-padding));