Feature request: figures and galleries with different widths of images, but same height #4534
positron96
started this conversation in
Ideas
Replies: 1 comment
-
I tried to use this approach: It needs to provide specific height, but otherwise works for me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If gallery has images of different aspect rations, it is rendered with same image widths (half or third of content width) and different heights, which does not look very pleasant:
However, Magnific popup supports aligning images by height with
image-popup-vertical-fit
class:I could not make this work in minimal-mistakes because my html/css/js-fu is too weak, and _reset.css seems to prevent this with width/height override.
Would be nice to have it as a feature in theme itself.
Beta Was this translation helpful? Give feedback.
All reactions