Skip to content

Commit 733b45d

Browse files
committed
fix: podcast grid now scrolls properly
- Use min-content for row sizing instead of 1fr - Add flex constraints and overflow-y for scroll containment
1 parent 0ddcbc0 commit 733b45d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ui/PodcastView/PodcastGrid.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@
4040
.podcast-grid {
4141
display: grid;
4242
grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr));
43-
grid-auto-rows: 1fr;
43+
grid-auto-rows: min-content;
4444
gap: 0.5rem;
4545
padding: 0.5rem;
46+
flex: 1;
47+
min-height: 0;
48+
overflow-y: auto;
4649
}
4750
4851
@media (min-width: 400px) {

0 commit comments

Comments
 (0)