Skip to content

Commit

Permalink
rustdoc: remove redundant CSS selector .sidebar .current
Browse files Browse the repository at this point in the history
Since the current sidebar item is already a link, it doesn't
do anything.
  • Loading branch information
notriddle committed Jan 19, 2023
1 parent 1f72129 commit 05889fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ ul.block, .block li {
padding-left: 24px;
}

.sidebar a, .sidebar .current {
.sidebar a {
color: var(--sidebar-link-color);
}
.sidebar .current,
Expand Down

0 comments on commit 05889fc

Please sign in to comment.