Repository: mesos Updated Branches: refs/heads/master f26ffcee0 -> 882e1dce8
Set max-size for a book thumbnail on the site. 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: https://github.com/apache/mesos/pull/243 Review: https://reviews.apache.org/r/63379/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b398ce8c Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b398ce8c Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b398ce8c Branch: refs/heads/master Commit: b398ce8cc14b410f7854260a3970e4f9eb0f868e Parents: f26ffce Author: Tomasz Janiszewski <[email protected]> Authored: Fri Oct 27 16:29:45 2017 -0700 Committer: James Peach <[email protected]> Committed: Fri Oct 27 16:29:45 2017 -0700 ---------------------------------------------------------------------- site/source/assets/css/main.css | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/b398ce8c/site/source/assets/css/main.css ---------------------------------------------------------------------- diff --git a/site/source/assets/css/main.css b/site/source/assets/css/main.css index d6ecb18..827811c 100755 --- a/site/source/assets/css/main.css +++ b/site/source/assets/css/main.css @@ -286,3 +286,7 @@ img { color: black; font-size: 0.8em; } + +.thumbnail > img { + height: 200px; +}
