File tree Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change 44// This rule is needed to be sure that the footer will always be at the bottom of the page.
55#rustdoc_body_wrapper {
66 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+ }
723}
824
925#clipboard {
@@ -19,8 +35,8 @@ div.container-rustdoc {
1935 text-align : left ;
2036
2137 > .docs-rs-footer {
22- bottom : -32 px ;
23- right : -15 px ;
38+ bottom : 0 ;
39+ right : 0 ;
2440 width : unset ;
2541 }
2642}
@@ -31,7 +47,7 @@ div.container-rustdoc {
3147
3248div .container-rustdoc :not (.source ) {
3349 > .docs-rs-footer {
34- left : 185 px ; // This is the left sidebar
50+ left : 200 px ; // This is the left sidebar
3551 }
3652
3753 // This is when the rustdoc sidebar "disappears" (for mobile mode).
@@ -111,10 +127,6 @@ div.rustdoc {
111127 top : $top-navbar-height ;
112128 }
113129
114- #sidebar-toggle {
115- top : 62px ;
116- }
117-
118130 & :focus {
119131 outline : unset ;
120132 }
You can’t perform that action at this time.
0 commit comments