fix(panel): make font-scale visibly resize all tables/charts and raise readable base sizes

- Raise base typography tokens (data tables to 12.5px, body/titles to 13px) above CJK 12px floor and widen lg (1.14x) / xl (1.28x) scale steps
- Replace 19 hardcoded px font-size rules across tables, charts, tooltips, heatmaps, and monthly bars with scalable --fs-* tokens
- Bind [data-font-scale] directly in CSS and mirror onto Shadow DOM overlay panels without colliding with :host defaults
- Convert rigid control/row pixel heights to scalable min-heights and scale floating panel base widths on lg/xl
This commit is contained in:
fish
2026-11-17 20:55:06 +09:00
parent dca767e8ad
commit b9cd1225e7
17 changed files with 442 additions and 248 deletions
+4 -4
View File
@@ -156,8 +156,8 @@
display: inline-flex;
align-items: center;
gap: 3px;
height: 18px;
padding: 0 6px;
min-height: calc(18px * var(--ui-font-scale, 1));
padding: 1px 6px;
font-size: var(--fs-sm);
font-weight: 600;
color: var(--text-secondary);
@@ -547,8 +547,8 @@
display: inline-flex;
align-items: center;
gap: 4px;
height: 20px;
padding: 0 6px;
min-height: calc(20px * var(--ui-font-scale, 1));
padding: 1px 6px;
border: 1px solid var(--border-hairline);
background: var(--surface-panel);
color: var(--text-secondary);