We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c98ae30 commit 6c278b9Copy full SHA for 6c278b9
templates/style.scss
@@ -69,6 +69,8 @@ div.rustdoc {
69
body {
70
padding: 0;
71
margin: 0;
72
+ // Since top navbar is fixed, we need to add padding to the body content.
73
+ padding-top: 32px;
74
}
75
76
@@ -114,11 +116,14 @@ div.container-rustdoc {
114
116
115
117
118
div.nav-container {
119
+ // Nothing is supposed to be over or hovering the top navbar. Maybe add a few others '('? :)
120
+ z-index: 999;
121
height: 32px;
122
border-bottom: 1px solid $color-border;
123
background-color: #fff;
124
left: 0;
125
right: 0;
126
+ top: 0;
127
position: fixed;
128
129
li {
0 commit comments