We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e30c54b commit 3ababafCopy full SHA for 3ababaf
templates/style.scss
@@ -84,15 +84,6 @@ 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 {
@@ -811,3 +802,16 @@ i.dependencies.normal {
811
802
visibility: hidden;
812
803
display: none;
813
804
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