Rollup merge of #101397 - notriddle:notriddle/source-nav-not-sidebar-sub, r=GuillaumeGomez

rustdoc: remove redundant mobile-sized `.source nav:not(.sidebar).sub`

It's redundant because there's already a selector `.source nav.sub` with exactly the same margin-left at [line 796].

[line 796]: 84f0c3f79a/src/librustdoc/html/static/css/rustdoc.css (L796)

This selector was added in 1e98fb1027, along with an identical desktop selector, but that desktop selector was removed in 6a5f8b1aef as part of a larger simplification.
This commit is contained in:
Matthias Krüger 2022-09-04 18:55:47 +02:00 committed by GitHub
commit 43a7438e27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1883,10 +1883,6 @@ in storage.js plus the media query with (min-width: 701px)
background-color: var(--sidebar-background-color);
}
.source nav:not(.sidebar).sub {
margin-left: 32px;
}
.content {
margin-left: 0px;
}