Skip to content

Commit

Permalink
change img object fit to contain on mobiles
Browse files Browse the repository at this point in the history
  • Loading branch information
goldipl committed Jun 30, 2024
1 parent fc04644 commit 5b973bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sass/home/_favourite_categories.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
img {
width: 100%;
height: 94px;
object-fit: cover;
object-fit: contain;
}
}
&__title {
Expand Down
4 changes: 2 additions & 2 deletions sass/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,8 @@ body {
.main-2-0 #favourite-categories .favourite-categories-slot__img img {
width: 100%;
height: 94px;
-o-object-fit: cover;
object-fit: cover;
-o-object-fit: contain;
object-fit: contain;
}
.main-2-0 #favourite-categories .favourite-categories-slot__title {
display: flex;
Expand Down
Loading

0 comments on commit 5b973bf

Please sign in to comment.