Skip to content

Commit

Permalink
feat(mon-pix): do not constrain images to 16/9 ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbertrand authored Oct 31, 2024
1 parent 2486357 commit b090e09
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mon-pix/app/components/module/element/_image.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
.element-image {
&__container {
aspect-ratio: auto 16 / 9;
margin: 0 auto var(--pix-spacing-3x) auto;
}
}

.element-image-container {
&__image {
display: block;
height: 100%;
width: 100%;
object-fit: contain;
}
}

0 comments on commit b090e09

Please sign in to comment.