Skip to content

Commit

Permalink
Apply Aaron suggestion to also lower specificity for focus/active
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Jul 12, 2024
1 parent be5ae55 commit 0f9669a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/block-library/src/navigation/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,10 @@ $navigation-icon-size: 24px;
}
}

&:where(:not([class*="has-text-decoration"])) :where(a) {
text-decoration: none;

&:focus,
&:active {
&:where(:not([class*="has-text-decoration"])) {
& :where(a),
& :where(a:focus),
& :where(a:active) {
text-decoration: none;
}
}
Expand Down

0 comments on commit 0f9669a

Please sign in to comment.