Skip to content

Commit

Permalink
fix: add object-fit: contain for images
Browse files Browse the repository at this point in the history
To make them keep the aspect ration when resizing
  • Loading branch information
mfyodorov authored and 3y3 committed Feb 1, 2024
1 parent 9a89834 commit 9ee96c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scss/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
}

img {
object-fit: contain;
background-color: $baseColor;
}

Expand Down

0 comments on commit 9ee96c7

Please sign in to comment.