fix: top releases grid always 2×2, fills available column height
Changed from auto-fill (which created a single row of 4) to fixed 2-column grid. Column is now a flex container so the grid stretches to fill the section height alongside the track list.
This commit is contained in:
@@ -332,13 +332,15 @@ export class ExploreArtistDetails extends LitElement {
|
||||
|
||||
.top-section-column {
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.top-releases-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
align-content: start;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.top-release-card {
|
||||
|
||||
Reference in New Issue
Block a user