Skip to content

Commit

Permalink
Add object-fit: cover in features card's image
Browse files Browse the repository at this point in the history
So it will work best on all resolutions of devices.
  • Loading branch information
ianlin committed Apr 29, 2022
1 parent 0011c43 commit 8f321ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/src/get-started-page/benefits-card/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
// Use more specific rules to make it higher priority to override <Text> component.
& &__image {
flex: 100%;

> img {
object-fit: cover;
}
}

.components-flex__item {
Expand Down

0 comments on commit 8f321ed

Please sign in to comment.