Skip to content

Commit c0245b1

Browse files
committed
rustdoc: remove redundant mobile .source > .sidebar CSS
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.
1 parent 57ee5cf commit c0245b1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Diff for: src/librustdoc/html/static/css/rustdoc.css

-3
Original file line numberDiff line numberDiff line change
@@ -1770,9 +1770,6 @@ in storage.js plus the media query with (min-width: 701px)
17701770
}
17711771

17721772
.rustdoc.source > .sidebar {
1773-
position: fixed;
1774-
margin: 0;
1775-
z-index: 11;
17761773
width: 0;
17771774
}
17781775

0 commit comments

Comments
 (0)