Skip to content

Commit

Permalink
Fix footer display following last rustdoc changes on the sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Feb 12, 2022
1 parent 1dd2aee commit a31b2a8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions templates/style/rustdoc-2021-12-05.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@
.sidebar {
margin-top: 0;
top: $top-navbar-height;
height: calc(100vh - $top-navbar-height);
/* Since we use `overflow-wrap: anywhere;`, we never have the need for a X scrollbar... */
overflow-x: hidden;

.sidebar-menu {
top: $top-navbar-height;
margin-bottom: $footer-height;
}
}

Expand All @@ -25,12 +29,7 @@ div.container-rustdoc {
> .docs-rs-footer {
bottom: 0;
right: 0;
}
}

div.container-rustdoc:not(.source) {
> .docs-rs-footer {
left: 200px;
left: 0;
}
}

Expand Down

0 comments on commit a31b2a8

Please sign in to comment.