Skip to content
Discussion options

You must be logged in to vote

If you want to just remove the restriction that keeps all the images at a consistent size, comment out the aspect-ratio line within the .feature-image class in _styles/feature.scss:

But the aspect-ratio is there to ensure images look good without authors having to do much, as long as the subject of the picture is in the center of the frame. I would instead just crop that last picture to be more square, with the face closer to the center.

You could also change object-fit: fit; to object-fit: contain; and remove box-shadow: var(--shadow), which I don't think looks good:

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ptitle
Comment options

@ptitle
Comment options

@vincerubinetti
Comment options

@ptitle
Comment options

Answer selected by vincerubinetti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants