diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-06-13 00:21:08 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-06-13 00:21:08 +0200 |
commit | 5f2cc877dfc04fc95b77c16c89ee71128126d163 (patch) | |
tree | ac0bf6f8bb6df6107982d6c6766d1cc963e2074a /assets | |
parent | b8b7184e8934ed937a8d8771a007e2ffff0646b9 (diff) |
#229: Add height to body, for sticky elements
Diffstat (limited to 'assets')
-rw-r--r-- | assets/_main.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/_main.scss b/assets/_main.scss index df81cb5..6f9dd29 100644 --- a/assets/_main.scss +++ b/assets/_main.scss @@ -9,6 +9,7 @@ html, body { min-width: $body-min-width; overflow-x: hidden; + height: 100vh; // For sticky elements } body { @@ -321,8 +322,7 @@ aside nav, transform: translateX($menu-width); } - .book-header aside, - .markdown { + .book-page { opacity: 0.25; } |