#229: Add height to body, for sticky elements
This commit is contained in:
parent
b8b7184e89
commit
5f2cc877df
3 changed files with 4 additions and 4 deletions
|
@ -9,6 +9,7 @@ html,
|
||||||
body {
|
body {
|
||||||
min-width: $body-min-width;
|
min-width: $body-min-width;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
height: 100vh; // For sticky elements
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
@ -321,8 +322,7 @@ aside nav,
|
||||||
transform: translateX($menu-width);
|
transform: translateX($menu-width);
|
||||||
}
|
}
|
||||||
|
|
||||||
.book-header aside,
|
.book-page {
|
||||||
.markdown {
|
|
||||||
opacity: 0.25;
|
opacity: 0.25;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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="}}
|
Loading…
Reference in a new issue