diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-06-19 10:26:15 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-06-19 10:26:15 +0200 |
commit | 618ffadcb3745945baa62a649e9c4a53f50c449a (patch) | |
tree | 5dc4c9e498eabb9ba891c8a41b591bcc2d4a7f5b /assets | |
parent | c679f74cff00b419c9c042190ff825c43788d672 (diff) |
Fix image alignment in text to baseline
Diffstat (limited to 'assets')
-rw-r--r-- | assets/book.scss | 8 |
1 files changed, 5 insertions, 3 deletions
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; } } |