Rollup merge of #102380 - notriddle:notriddle/rustdoc-source-sidebar, r=camelid

rustdoc: remove redundant mobile `.source > .sidebar` CSS

When the source sidebar and standard sidebar had most of their code merged in 07e3f998b1, the properties `z-index: 11`, `margin: 0`, and `position: fixed` were already being set on the `.sidebar` class, so no need to repeat them.

57ee5cf5a9/src/librustdoc/html/static/css/rustdoc.css (L1742-L1754)
This commit is contained in:
Yuki Okushi 2022-09-28 13:07:20 +09:00 committed by GitHub
commit ce15514df9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1776,9 +1776,6 @@ in storage.js plus the media query with (min-width: 701px)
}
.rustdoc.source > .sidebar {
position: fixed;
margin: 0;
z-index: 11;
width: 0;
}