Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gallery Block: Align uncropped items to the top of the block #29316

Closed
melchoyce opened this issue Feb 24, 2021 · 1 comment · Fixed by #29367
Closed

Gallery Block: Align uncropped items to the top of the block #29316

melchoyce opened this issue Feb 24, 2021 · 1 comment · Fixed by #29367
Assignees
Labels
[Block] Gallery Affects the Gallery Block - used to display groups of images [Status] In Progress Tracking issues with work in progress

Comments

@melchoyce
Copy link
Contributor

What problem does this address?

When I'm using the gallery block to display images with different orientations or heights, I'll often want to display them uncropped. However, the images are then aligned to the bottom of the block, which can get quite awkward:

image

image

What is your proposed solution?

Two suggestions:

  1. Default to aligning the gallery items to the top of the container
  2. Add the alignment setting to the gallery toolbar, when images are uncropped

image

@melchoyce melchoyce added the [Block] Gallery Affects the Gallery Block - used to display groups of images label Feb 24, 2021
@mtias
Copy link
Member

mtias commented Feb 25, 2021

But gravity!

@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Gallery Affects the Gallery Block - used to display groups of images [Status] In Progress Tracking issues with work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants