fix: album grid layout to fill available width

Use CSS Grid with auto-fill instead of flexbox to eliminate the
persistent gap on the right side of the album grid.
This commit is contained in:
vicrodh committed 2026-01-23 01:36:02 -06:00
1 parent 66d6ffb6ed
commit 2edd544c23
1 file changed
+4 -4
@@ -459,14 +459,14 @@
/* Album Grid Row (Grid Mode) */
.album-grid-row {
display: flex;
flex-wrap: wrap;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(162px, 1fr));
gap: 24px;
padding: 0;
}
.album-grid-row :global(.album-card) {
flex: 0 0 auto;
width: 162px;
width: 100%;
max-width: 200px;
}
</style>