Skip to content

Commit

Permalink
fix: Collection items image aspect ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
NiclasNorin committed Oct 23, 2023
1 parent 1947e64 commit 85afea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/sass/component/_collection.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ $c-collection-item-background-color: var(--c-collection-card-background-color, $
display: flex;

img {
aspect-ratio: 16/9;
aspect-ratio: 1/1;
border-radius: $c-collection-item-image-border-radius;
height: 100%;
width: 100%;
Expand Down

0 comments on commit 85afea7

Please sign in to comment.