Skip to content

[Gallery] Use "grid" layout and add row/column span for images #76725

@scrobbleme

Description

@scrobbleme

What problem does this address?

The current gallery block is not quite flexible with the layout. There is a fixed number of images per row, images are just floated and the last ones use all available space.

What is your proposed solution?

I think using grid layout (display: grid), like the grid block instead of flex, would make the block much more flexible.

  • Images could have column and row span too
  • galleries could have a more "flexible" width and show more or less images, dependend on screen size

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions