Skip to content

Commit 65072ee

Browse files
committed
rustdoc: remove no-op mobile CSS .sidebar { margin: 0; padding: 0 }
This isn't overriding anything, because the sidebar never has a margin or padding on it.
1 parent 203c876 commit 65072ee

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/librustdoc/html/static/css/rustdoc.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1660,8 +1660,6 @@ in storage.js
16601660
/* Hide the sidebar offscreen while not in use. Doing this instead of display: none means
16611661
the sidebar stays visible for screen readers, which is useful for navigation. */
16621662
left: -1000px;
1663-
margin: 0;
1664-
padding: 0;
16651663
z-index: 11;
16661664
/* Reduce height slightly to account for mobile topbar. */
16671665
height: calc(100vh - 45px);

0 commit comments

Comments
 (0)