Commit 9f9024e
fix(metadata): drop unneeded scrollbar on MetadataText values (#765)
Each MetadataText value rendered with `overflow-y: scroll`, which forces
a scrollbar even when no max-height is set. Chromium-based Edge on
Windows draws classic scrollbar arrow buttons on every forced scrollbar,
producing visible up/down chevrons next to single-line values like the
publisher, bookmark progress, and date. Other Chromium browsers don't
draw the arrows, so this only manifested on Edge.
Switch to `overflow-y: auto` so the scrollbar only appears for the two
fields that actually need it (Summary and Review, which have
`max-height: 100`). The `isOverflow` measurement still works since it
compares `clientHeight` to `scrollHeight`, which is identical under
`auto`.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 61f14ed commit 9f9024e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
0 commit comments