Skip to content

Commit

Permalink
rustdoc: remove redundant mobile .source > .sidebar CSS
Browse files Browse the repository at this point in the history
When the source sidebar and standard sidebar had most of their code merged in
07e3f99, the properties `z-index: 11`,
`margin: 0`, and `position: fixed` were already being set on the `.sidebar`
class, so no need to repeat them.
  • Loading branch information
notriddle committed Sep 27, 2022
1 parent 57ee5cf commit c0245b1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1770,9 +1770,6 @@ in storage.js plus the media query with (min-width: 701px)
}

.rustdoc.source > .sidebar {
position: fixed;
margin: 0;
z-index: 11;
width: 0;
}

Expand Down

0 comments on commit c0245b1

Please sign in to comment.