Skip to content

Commit e8a29dd

Browse files
authored
Rollup merge of rust-lang#105309 - notriddle:notriddle/sidebar-margin-padding, r=GuillaumeGomez
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.
2 parents fbf5d8e + 65072ee commit e8a29dd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

-2
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)