File tree 1 file changed +17
-7
lines changed
1 file changed +17
-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
+ top : $top-navbar-height ;
12
+
13
+ .sidebar-menu {
14
+ top : $top-navbar-height ;
15
+ }
16
+ }
17
+
18
+ main {
19
+ padding-bottom : 50px ;
20
+ }
7
21
}
8
22
9
23
#clipboard {
@@ -19,8 +33,8 @@ div.container-rustdoc {
19
33
text-align : left ;
20
34
21
35
> .docs-rs-footer {
22
- bottom : -32 px ;
23
- right : -15 px ;
36
+ bottom : 0 ;
37
+ right : 0 ;
24
38
width : unset ;
25
39
}
26
40
}
@@ -31,7 +45,7 @@ div.container-rustdoc {
31
45
32
46
div .container-rustdoc :not (.source ) {
33
47
> .docs-rs-footer {
34
- left : 185 px ; // This is the left sidebar
48
+ left : 200 px ; // This is the left sidebar
35
49
}
36
50
37
51
// This is when the rustdoc sidebar "disappears" (for mobile mode).
@@ -111,10 +125,6 @@ div.rustdoc {
111
125
top : $top-navbar-height ;
112
126
}
113
127
114
- #sidebar-toggle {
115
- top : 62px ;
116
- }
117
-
118
128
& :focus {
119
129
outline : unset ;
120
130
}
You can’t perform that action at this time.
0 commit comments