Skip to content

Commit

Permalink
Rollup merge of #107095 - notriddle:notriddle/sidebar-current, r=Guil…
Browse files Browse the repository at this point in the history
…laumeGomez

rustdoc: remove redundant CSS selector `.sidebar .current`

Since the current sidebar item is already a link, it doesn't do anything.
  • Loading branch information
compiler-errors authored Jan 21, 2023
2 parents 3452104 + 05889fc commit 7565b9a
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 7565b9a

Please sign in to comment.