Skip to content

Commit f570d31

Browse files
committed
rustdoc: remove no-op CSS rule #source-sidebar { z-index: 1 }
This rule became redundant in 07e3f99. When `#source-sidebar` became nested below `.sidebar`, it went from being `position: fixed` to `position: static`, and according to MDN's [z-index] documentation, this means it has no effect. [z-index]: https://developer.mozilla.org/en-US/docs/Web/CSS/z-index
1 parent 8b0feb8 commit f570d31

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustdoc/html/static/css/rustdoc.css

-1
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,6 @@ pre.rust {
14161416
}
14171417
#source-sidebar {
14181418
width: 100%;
1419-
z-index: 1;
14201419
overflow: auto;
14211420
}
14221421
#source-sidebar > .title {

0 commit comments

Comments
 (0)