fix(epg): always-visible scrollbar in program list

Switch to overflow-y: scroll with scrollbar-gutter: stable so the gutter
is reserved (no layout shift between scrollable and non-scrollable
days). Locally style the thumb with --app-muted-color so it's clearly
visible across themes and platforms, overriding the global 6px
near-transparent style which was being hidden by the macOS overlay
auto-fade.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Entire-Checkpoint: 918ee7ade2f3
This commit is contained in:
4grayandClaude Opus 4.7 committed 2026-04-29 00:55:48 +02:00
1 parent 7841b3b4e8
commit 465fdbfb80
1 file changed
+30 -1
@@ -47,12 +47,41 @@
#program-list {
flex: 1;
overflow-y: auto;
overflow-y: scroll;
overflow-x: hidden;
padding: 4px 8px 12px;
display: flex;
flex-direction: column;
gap: 0;
scrollbar-gutter: stable;
scrollbar-width: thin;
scrollbar-color: color-mix(in srgb, var(--app-muted-color) 55%, transparent)
transparent;
&::-webkit-scrollbar {
width: 8px;
height: 8px;
}
&::-webkit-scrollbar-track {
background: transparent;
}
&::-webkit-scrollbar-thumb {
background-color: color-mix(
in srgb,
var(--app-muted-color) 55%,
transparent
);
border-radius: 999px;
border: 2px solid transparent;
background-clip: content-box;
&:hover {
background-color: var(--app-muted-color);
background-clip: content-box;
}
}
}
.program-item {