Skip to content

Commit

Permalink
Update hover and focus selectors for Move to Trash to ensure they're …
Browse files Browse the repository at this point in the history
…always red (#19974)

- Updates the selectors in .editor-post-trash to use similar
  specificity as .components-button.is-link for the hover
  and focus states to ensure that they are always red.
  • Loading branch information
andrewserong authored Jan 31, 2020
1 parent c804524 commit 56d866f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/editor/src/components/post-trash/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
border-color: darken($alert-red, 15%);
justify-content: center;

&:hover,
&:focus {
&:not(:disabled):not([aria-disabled="true"]):hover,
&:not([aria-disabled="true"]):focus {
color: darken($alert-red, 20%);
border-color: darken($alert-red, 20%);
}
Expand Down

0 comments on commit 56d866f

Please sign in to comment.