Repository navigation
Commit 65dd983
fix(web): composer control labels line up with their icons
On 1x displays and zoomed windows the font's ascent and descent round
unevenly, so centering the label's line box left the text riding a pixel
or two above the icons. Trim labels to cap height and alphabetic baseline
so flex centering lines the caps up with the icons. Padding keeps
descenders clear of the truncating model label.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent 8f75697 commit 65dd983
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
0 commit comments