Rollup merge of #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.
This commit is contained in:
Yuki Okushi 2022-12-06 12:48:52 +09:00 committed by GitHub
commit 6dd1a404c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);