Skip to content

Commit

Permalink
fix: adjust object fit for opco card images
Browse files Browse the repository at this point in the history
  • Loading branch information
duynguyen committed Dec 13, 2023
1 parent 267332b commit 2e9a7e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions blocks/cards/cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
}

.cards.opco .cards-card-image img {
object-fit: contain;
transform: scale(1);
transition: all .6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
Expand Down
2 changes: 2 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,8 @@
}

.cards.opco .cards-card-image img {
-o-object-fit: contain;
object-fit: contain;
transform: scale(1);
transition: all .6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
Expand Down

0 comments on commit 2e9a7e3

Please sign in to comment.