fix: top releases grid no longer stretches to fill column height
Removed flex:1 from .top-releases-grid and flex column from .top-section-column. Added align-items:start to .top-section-columns so both columns align at the top. The releases grid now sizes naturally based on its content — 2 cards in a 2-column grid, matching the compact height of the track list.
This commit is contained in:
@@ -335,19 +335,17 @@ export class ExploreArtistDetails extends LitElement {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 24px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.top-section-column {
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.top-releases-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.top-release-card {
|
||||
|
||||
Reference in New Issue
Block a user