Skip to content

Commit

Permalink
Rollup merge of rust-lang#107095 - notriddle:notriddle/sidebar-curren…
Browse files Browse the repository at this point in the history
…t, r=GuillaumeGomez

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 committed Jan 20, 2023
2 parents 8a66e39 + 05889fc commit 7c5f572
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 7c5f572

Please sign in to comment.