#229: Add height to body, for sticky elements

This commit is contained in:
Alex Shpak
2020-06-13 00:21:08 +02:00
parent b8b7184e89
commit 5f2cc877df
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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;
}