Skip to content

Commit 9f9024e

Browse files
ajslaterclaude
andauthored
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

File tree

frontend/src/components/metadata/metadata-text.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export default {
234234
}
235235
236236
.textValue {
237-
overflow-y: scroll;
237+
overflow-y: auto;
238238
}
239239
240240
.expandButton {

0 commit comments

Comments
 (0)