Skip to content

Commit 90c5e08

Browse files
jshasyphar
authored andcommitted
Remove more top-navbar-height calculations.
1 parent 79b720f commit 90c5e08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/style/base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ body {
102102
padding: 0;
103103
margin: 0;
104104
position: relative;
105-
min-height: calc(100vh - #{$top-navbar-height});
105+
min-height: 100vh; /* Tall enough to stick the footer to the bottom */
106106

107107
* {
108108
-webkit-box-sizing: border-box;

templates/style/rustdoc-common.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// This rule is needed to be sure that the footer will always be at the bottom of the page.
55
#rustdoc_body_wrapper {
6-
min-height: calc(100vh - #{$top-navbar-height + $footer-height + 2});
6+
min-height: calc(100vh - #{$footer-height + 2});
77
}
88

99
#clipboard {

0 commit comments

Comments
 (0)