Skip to content

Commit

Permalink
Merge pull request #580 from hlxsites/572-image-styles
Browse files Browse the repository at this point in the history
fix: adjust object fit for opco card images
  • Loading branch information
duynguyen authored Dec 13, 2023
2 parents 267332b + 2e9a7e3 commit c6a6794
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 c6a6794

Please sign in to comment.