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:
+9
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user