#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

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;
}

View file

@ -1 +1 @@
{"Target":"book.min.1205ebacf147e31d6bd6f74be1ef8d96f4bb2c4943c68e5a39b4e988a774a2b0.css","MediaType":"text/css","Data":{"Integrity":"sha256-EgXrrPFH4x1r1vdL4e+NlvS7LElDxo5aObTpiKd0orA="}}
{"Target":"book.min.f4513b2d8fab87aa86ea84b12e6ef34545da99769cec9d70c06ab774f08bda78.css","MediaType":"text/css","Data":{"Integrity":"sha256-9FE7LY+rh6qG6oSxLm7zRUXamXac7J1wwGq3dPCL2ng="}}