diff options
| author | Michael Howell <michael@notriddle.com> | 2022-09-27 14:25:48 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-09-27 14:30:58 -0700 |
| commit | c0245b16baf98f88cba708c19b5a8fc514781b34 (patch) | |
| tree | 460517c4d1f44610230f5bf05c24f58bb95ea1ad | |
| parent | 57ee5cf5a93923dae9c98bffb11545fc3a31368d (diff) | |
| download | rust-c0245b16baf98f88cba708c19b5a8fc514781b34.tar.gz rust-c0245b16baf98f88cba708c19b5a8fc514781b34.zip | |
rustdoc: remove redundant mobile `.source > .sidebar` CSS
When the source sidebar and standard sidebar had most of their code merged in 07e3f998b1ceb4b8d2a7992782e60f5e776aa114, the properties `z-index: 11`, `margin: 0`, and `position: fixed` were already being set on the `.sidebar` class, so no need to repeat them.
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index e7a05b80c12..c4ce599aa55 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -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; } |
