fix: center text vertically in Compact and Large
The size modes scale rem line heights to fractions (1.25rem = 22.857px in Large), and pixel rounding moved text up to 1.2px off center. Type scale line heights and the header's 3rem now round to whole px (no change in Normal). Segmented buttons, Reset to default and the project select drop core's vertical padding, which made the line overflow and sink. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
color: var(--md-sys-color-on-surface);
|
||||
font: var(--md-sys-typescale-title-large);
|
||||
line-height: calc(50px + var(--nm-density));
|
||||
padding-block: 1.5px 3px; /* core's, which layout.css removes: keeps the title level with the ▾ icon */
|
||||
}
|
||||
html #project-jump.drdn { padding-inline-start: 8px; }
|
||||
/* Header icons: Material Symbols masks instead of core's scaled "^" and "≡" text glyphs */
|
||||
|
||||
Reference in New Issue
Block a user