Skip to content

Commit

Permalink
fix mobile story images equal height #59
Browse files Browse the repository at this point in the history
  • Loading branch information
openmindculture committed Oct 11, 2023
1 parent 00ffb06 commit 1638b53
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/css/m_stories.css
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,7 @@ body.single-story .stories__story__quote {

@media (max-width: 555px) {
.stories__story__image, .stories__story__image img, .stories__story__quote {
height: auto;
min-height: unset;
width: 70vw;
height: calc(70vw * 1.775700935); /* inverse default ratio (190/107) */
}

.stories__story__quote__text {
Expand Down

0 comments on commit 1638b53

Please sign in to comment.