Repository navigation
Commit 037c0c0
fix(web): folder rows no longer jump at larger interface font sizes
Folder rows reserved a fixed 36px (54px multiline) through
contain-intrinsic-size, but their real height is h-9 (2.25rem), which
grows with the interface font size. The list motion measures rows right
after they mount, before content-visibility lays them out, so at 20px it
stored each new row 9px short and the next collapse animated rows that
should not move. Sizing the placeholder in spacing units keeps it equal
to the real row at every font size and unchanged at the 16px default.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 575579d commit 037c0c0
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1196 | 1196 | | |
1197 | 1197 | | |
1198 | 1198 | | |
1199 | | - | |
1200 | | - | |
| 1199 | + | |
| 1200 | + | |
1201 | 1201 | | |
1202 | 1202 | | |
1203 | 1203 | | |
| |||
0 commit comments