Skip to content

Commit 14546a5

Browse files
committed
Publications: set line-height on .publication container
Non-thumb entries inline their child <p>s, and inline line-height is governed by the parent block's strut (which was inheriting body's 1.5). The line-height: 1 on each <p> didn't reach the strut. Setting it on .publication makes the line-height consistent across thumb and no-thumb entries.
1 parent 50edb69 commit 14546a5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

assets/css/style.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ hr { border: 0; border-top: 1px dotted $text-faint; margin: 2rem 0; }
455455
grid-template-columns: 1fr;
456456
align-items: start;
457457
padding: 0.4rem 0;
458+
line-height: 1;
458459

459460
/* When a thumbnail is present, switch to two-column layout. The thumbnail
460461
is fixed-width; height stays auto so the natural aspect ratio is

0 commit comments

Comments
 (0)