Skip to content

Commit 3af90a3

Browse files
Add object-fit: cover to image element
1 parent 0caeaca commit 3af90a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Card/Card.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@
5454
display: flex;
5555
justify-content: center;
5656
align-items: center;
57-
object-fit: cover;
5857
aspect-ratio: 1/1;
5958
order: 1;
6059

6160
img {
6261
height: 100%;
6362
width: 100%;
63+
object-fit: cover;
6464
}
6565

6666
&--l {

0 commit comments

Comments
 (0)