Skip to content

Commit

Permalink
alex-shpak#229: Add height to body, for sticky elements
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-shpak committed Jun 12, 2020
1 parent b8b7184 commit 5f2cc87
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ html,
body {
min-width: $body-min-width;
overflow-x: hidden;
height: 100vh; // For sticky elements
}

body {
Expand Down Expand Up @@ -321,8 +322,7 @@ aside nav,
transform: translateX($menu-width);
}

.book-header aside,
.markdown {
.book-page {
opacity: 0.25;
}

Expand Down
Loading

0 comments on commit 5f2cc87

Please sign in to comment.