We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ababaf commit 4e98970Copy full SHA for 4e98970
templates/style.scss
@@ -84,6 +84,15 @@ div.rustdoc {
84
}
85
86
87
+
88
+ // this is actual fix for docs.rs navigation and rustdoc sidebar
89
+ position: fixed;
90
+ top: $top-navbar-height;
91
+ bottom: 0;
92
+ left: 0;
93
+ right: 0;
94
+ display: block;
95
+ overflow-y: auto;
96
97
98
body {
@@ -802,16 +811,3 @@ i.dependencies.normal {
802
811
visibility: hidden;
803
812
display: none;
804
813
805
-
806
-// Fix position of theme-picker
807
-.theme-picker {
808
- margin-top: $top-navbar-height;
809
-}
810
-// Fix for anchors, so that they are well positioned right below the sticky header
-.section-header::before {
- display: block;
814
- content: "";
815
- height: 3rem;
816
- margin-top: -3rem;
817
0 commit comments