Skip to content

Commit

Permalink
Set grid album cover's aspect ratio
Browse files Browse the repository at this point in the history
This should remove weird stylings with album covers that don't have a 1/1 aspect ratio.
sleepyfran committed Dec 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 0fa5b96 commit 58e479b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/albums/src/playable-album-cover.ts
Original file line number Diff line number Diff line change
@@ -97,6 +97,7 @@ export class PlayableAlbumCover extends LitElement {
}
img.album-cover {
aspect-ratio: 1 / 1;
border-radius: 2%;
width: 100%;
height: 100%;

0 comments on commit 58e479b

Please sign in to comment.