Skip to content

Commit 7c5f572

Browse files
Rollup merge of rust-lang#107095 - notriddle:notriddle/sidebar-current, r=GuillaumeGomez
rustdoc: remove redundant CSS selector `.sidebar .current` Since the current sidebar item is already a link, it doesn't do anything.
2 parents 8a66e39 + 05889fc commit 7c5f572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ ul.block, .block li {
497497
padding-left: 24px;
498498
}
499499

500-
.sidebar a, .sidebar .current {
500+
.sidebar a {
501501
color: var(--sidebar-link-color);
502502
}
503503
.sidebar .current,

0 commit comments

Comments
 (0)