Text size setting also scales row height and path-bar controls

--row-h and --path-ctl-h CSS vars per size level; Compact brings the path
input/buttons to 24px, aligned with the panel action buttons.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Jokin
2026-07-11 19:12:36 +02:00
co-authored by Claude Fable 5
parent 3e33bac426
commit 70947da129
2 changed files with 13 additions and 5 deletions
+9 -1
View File
@@ -100,21 +100,29 @@
--radius-lg: var(--radius);
}
/* Text-size setting for the path bar + file list (data-text set by SettingsService). */
/* Text-size setting for the path bar + file list (data-text set by SettingsService).
Also scales row height and the path-bar controls — compact matches the 24px
panel action buttons. */
:root {
--list-font: 13px;
--list-meta-font: 12px;
--path-font: 12px;
--row-h: 28px;
--path-ctl-h: 28px;
}
:root[data-text='compact'] {
--list-font: 12px;
--list-meta-font: 11px;
--path-font: 11px;
--row-h: 24px;
--path-ctl-h: 24px;
}
:root[data-text='large'] {
--list-font: 14px;
--list-meta-font: 13px;
--path-font: 13px;
--row-h: 32px;
--path-ctl-h: 32px;
}
html,