From 618ffadcb3745945baa62a649e9c4a53f50c449a Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Wed, 19 Jun 2019 10:26:15 +0200 Subject: Fix image alignment in text to baseline --- assets/book.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'assets/book.scss') diff --git a/assets/book.scss b/assets/book.scss index 7be66a6..ba7de6a 100644 --- a/assets/book.scss +++ b/assets/book.scss @@ -51,7 +51,7 @@ a { } img { - vertical-align: middle; + vertical-align: baseline; } aside nav ul { @@ -147,6 +147,10 @@ ul.pagination { @include fixed; } + img { + height: 1em; + } + nav > ul > li:first-child { margin-top: 0; } @@ -166,10 +170,8 @@ ul.pagination { display: flex; padding-top: $padding-16; font-size: $font-size-14; - align-items: baseline; img { - width: 1em; height: 1em; } } -- cgit v1.2.3