diff options
| author | Michael Howell <michael@notriddle.com> | 2022-09-23 10:32:17 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-09-23 10:45:26 -0700 |
| commit | 8b0feb86222cfbe46d3c20fd760b7935fa60ed2d (patch) | |
| tree | 27b14466a803e77ed28b716923ee48ba7fe10668 /src/librustdoc/html/static/css/rustdoc.css | |
| parent | 9a963e3bade50f48a58c14ab5e82646005654b59 (diff) | |
| download | rust-8b0feb86222cfbe46d3c20fd760b7935fa60ed2d.tar.gz rust-8b0feb86222cfbe46d3c20fd760b7935fa60ed2d.zip | |
rustdoc: remove no-op mobile CSS `#source-sidebar { z-index: 11 }`
This rule became redundant in 07e3f998b1ceb4b8d2a7992782e60f5e776aa114. 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
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 3461d083c60..651f05284ff 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -1922,10 +1922,6 @@ in storage.js plus the media query with (min-width: 701px) border-bottom: 1px solid; } - #source-sidebar { - z-index: 11; - } - #main-content > .line-numbers { margin-top: 0; } |
