website: community people pics consistently spaced

Most of the bios have five lines of text, so that's the driver for the
layout except for @grubernaut's and @mbfrahry's where there's only three
lines. This makes the pictures following the short bios look misaligned.

This quick fix just always leaves enough room for five lines of bio text,
ensuring that the photos appear at a consistent vertical rhythm.

It's annoying to hard-code a particular value here, since this value won't
survive e.g. a change to the typesetting, but a more involved fix here
(using flexbox layout, or something else complicated) doesn't seem
warranted.
This commit is contained in:
Martin Atkins 2017-03-29 09:48:58 -07:00
parent 6cae2a5eb1
commit 0d6d2f1cb4
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
.person { .person {
margin-bottom: 40px; margin-bottom: 40px;
min-height: 165px; // enough space for five lines of bio text
h3 { h3 {
text-transform: none; text-transform: none;