Skip to content

Commit

Permalink
Rollup merge of rust-lang#103494 - notriddle:notriddle/test-arrow-hov…
Browse files Browse the repository at this point in the history
…er, r=GuillaumeGomez

rustdoc: remove redundant CSS `a.test-arrow:hover`

In 4b402db, when this rule was added, it was overriding a rule that made all links in docblock get an underline when hovered. This became redundant when, after reordering the rules, 7585632 changed the pro-underline rule to exclude the test-arrow link anyway.
  • Loading branch information
Yuki Okushi authored Oct 24, 2022
2 parents 9ecba38 + f0f0a7d commit b09ce60
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1228,9 +1228,6 @@ a.test-arrow {
.example-wrap:hover .test-arrow {
visibility: visible;
}
a.test-arrow:hover {
text-decoration: none;
}

.code-attribute {
font-weight: 300;
Expand Down

0 comments on commit b09ce60

Please sign in to comment.