]> git.lizzy.rs Git - rust.git/commitdiff
rustdoc: remove redundant CSS selector `.sidebar .current`
authorMichael Howell <michael@notriddle.com>
Thu, 19 Jan 2023 23:30:05 +0000 (16:30 -0700)
committerMichael Howell <michael@notriddle.com>
Thu, 19 Jan 2023 23:30:05 +0000 (16:30 -0700)
Since the current sidebar item is already a link, it doesn't
do anything.

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

index a08b8d89db67d22454f8d0f59a90db37346c838d..a93f60da2adf2f1369f5069a7642a18a1501c228 100644 (file)
@@ -497,7 +497,7 @@ ul.block, .block li {
        padding-left: 24px;
 }
 
-.sidebar a, .sidebar .current {
+.sidebar a {
        color: var(--sidebar-link-color);
 }
 .sidebar .current,