Skip to content

Commit

Permalink
Remove bottom margin from crate version when the sidebar is collapsed.
Browse files Browse the repository at this point in the history
This fixes a mobile UI bug where a vertical scrollbar would always be
rendered on the sidebar nav when the menu was closed.
  • Loading branch information
arusahni committed Jan 5, 2021
1 parent c7d6c3d commit aea9a4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustdoc/html/static/rustdoc.css
Expand Up @@ -1412,6 +1412,7 @@ h4 > .notable-traits {
.sidebar > .block.version {
border-bottom: none;
margin-top: 12px;
margin-bottom: 0;
}

nav.sub {
Expand Down

0 comments on commit aea9a4b

Please sign in to comment.