Skip to content

Commit

Permalink
rustdoc: remove no-op mobile CSS .sidebar { margin: 0; padding: 0 }
Browse files Browse the repository at this point in the history
This isn't overriding anything, because the sidebar never has a margin or
padding on it.
  • Loading branch information
notriddle committed Dec 5, 2022
1 parent 203c876 commit 65072ee
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1660,8 +1660,6 @@ in storage.js
/* Hide the sidebar offscreen while not in use. Doing this instead of display: none means
the sidebar stays visible for screen readers, which is useful for navigation. */
left: -1000px;
margin: 0;
padding: 0;
z-index: 11;
/* Reduce height slightly to account for mobile topbar. */
height: calc(100vh - 45px);
Expand Down

0 comments on commit 65072ee

Please sign in to comment.