about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-09-12 21:51:20 -0700
committerMichael Howell <michael@notriddle.com>2022-09-12 21:58:35 -0700
commitb4173b6d869ff5f4a6057ba46603d5f1385d1187 (patch)
treec9ddfe4f1ab59e9211b2d511d6e02894eef813f4
parent52e003a6e93940ae49cbfc806c72ed5b0217cf4e (diff)
downloadrust-b4173b6d869ff5f4a6057ba46603d5f1385d1187.tar.gz
rust-b4173b6d869ff5f4a6057ba46603d5f1385d1187.zip
rustdoc: remove redundant CSS `#source-sidebar, #sidebar-toggle`
These two elements are always nested below `<nav class="sidebar">`, and will
inherit the font from their parent.

These selectors were added in 93520d2ad145b791b1b1a6c71cdea65b1943ffb6, and
became redundant in 07e3f998b1ceb4b8d2a7992782e60f5e776aa114 when the source
sidebar elements became nested below `nav.sidebar`.
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 72e04decbe3..011c559b34b 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -206,7 +206,6 @@ a.source,
 .item-left > a,
 .out-of-band,
 span.since,
-#source-sidebar, #sidebar-toggle,
 details.rustdoc-toggle > summary::before,
 .content ul.crate a.crate,
 a.srclink,