Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Uneven height in gallery thumbnails #988

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

Closed
timhoffm opened this issue Aug 14, 2022 · 4 comments
Closed

Uneven height in gallery thumbnails #988

timhoffm opened this issue Aug 14, 2022 · 4 comments

Comments

@timhoffm
Copy link
Contributor

The height of the gallery thumbnails now adapts to the size of the title (likely due to #905). This can make a quite uneven layout if you have some short and long titles.

grafik

Is it possible to set a minimum height, so that the thumbnails never get shorter than two or three lines of text?

@larsoner
Copy link
Contributor

This can make a quite uneven layout if you have some short and long titles.

Personally I saw this as a feature more than a bug (better use of space / less wasted space), but I could see how others might disagree.

I would first look into if some CSS could be used to force all the elements to have the same (maximal) height. Alternatively, you could probably use CSS to just set a min height in pixels for that element type

@timhoffm
Copy link
Contributor Author

Thanks, I'll check what CSS can do.

@alexisthual
Copy link
Contributor

I agree with @larsoner that this is a feature: it helps minimizing overall space on small devices.
However, I guess you can easily set a min-height in your custom CSS πŸ™‚

@timhoffm
Copy link
Contributor Author

Customizing with min-height should be good enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants