File tree 1 file changed +19
-7
lines changed
1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change 4
4
// This rule is needed to be sure that the footer will always be at the bottom of the page.
5
5
#rustdoc_body_wrapper {
6
6
min-height : calc (100vh - #{$top-navbar-height + $footer-height + 2 } );
7
+ padding : 0 ;
8
+
9
+ .sidebar {
10
+ margin-top : 0 ;
11
+
12
+ .sidebar-menu {
13
+ top : $top-navbar-height ;
14
+ }
15
+ }
16
+ & .source .sidebar {
17
+ top : $top-navbar-height ;
18
+ }
19
+
20
+ main {
21
+ padding-bottom : 50px ;
22
+ }
7
23
}
8
24
9
25
#clipboard {
@@ -19,8 +35,8 @@ div.container-rustdoc {
19
35
text-align : left ;
20
36
21
37
> .docs-rs-footer {
22
- bottom : -32 px ;
23
- right : -15 px ;
38
+ bottom : 0 ;
39
+ right : 0 ;
24
40
width : unset ;
25
41
}
26
42
}
@@ -31,7 +47,7 @@ div.container-rustdoc {
31
47
32
48
div .container-rustdoc :not (.source ) {
33
49
> .docs-rs-footer {
34
- left : 185 px ; // This is the left sidebar
50
+ left : 200 px ; // This is the left sidebar
35
51
}
36
52
37
53
// This is when the rustdoc sidebar "disappears" (for mobile mode).
@@ -111,10 +127,6 @@ div.rustdoc {
111
127
top : $top-navbar-height ;
112
128
}
113
129
114
- #sidebar-toggle {
115
- top : 62px ;
116
- }
117
-
118
130
& :focus {
119
131
outline : unset ;
120
132
}
You can’t perform that action at this time.
0 commit comments