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

Update home.md #243

Closed
wants to merge 1 commit into from
Closed

Update home.md #243

wants to merge 1 commit into from

Conversation

packtpartner
Copy link
Contributor

Added new book listing - Apache Mesos Cookbook

@jpeach
Copy link
Contributor

jpeach commented Oct 25, 2017

Markup-wise this looked fine to me, but the grid didn't lay out correctly (this new addition appends to the far right on a new row). Maybe someone familiar with bootstrap can figure it out?

@janisz
Copy link
Contributor

janisz commented Oct 27, 2017

The problem is because images have a different height (one have different ratio). We can fix this by scaling them. Just adding

max-height: 200px;

to book thumbnail should be enough.

asfgit pushed a commit that referenced this pull request Oct 27, 2017
There is an issue with books thumbnails. Covers are loaded from
external resources and we do not control images sizes and ratios.
When one book has different ration than other there might be a
situation when there is not enough space (vertically) to  place
items in a row, so they are located in next row leaving a blank
space.

Required by: #243

Review: https://reviews.apache.org/r/63379/
@asfgit asfgit closed this in 1dba011 Oct 27, 2017
@jpeach
Copy link
Contributor

jpeach commented Oct 27, 2017

Thanks @janisz!

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