Skip to content

Commit

Permalink
Try: Make focus style valid CSS. (#32305)
Browse files Browse the repository at this point in the history
* Try: Make focus style valid CSS.

* Fix scss.
  • Loading branch information
jasmussen authored May 28, 2021
1 parent 6d7698e commit 7fbe674
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

&:focus:not(:disabled) {
border-color: var(--wp-admin-theme-color);
box-shadow: 0 0 0 (var(--wp-admin-border-width-focus) - $border-width) var(--wp-admin-theme-color);
box-shadow: 0 0 0 calc(var(--wp-admin-border-width-focus) - #{ $border-width }) var(--wp-admin-theme-color);
}

svg {
Expand Down

0 comments on commit 7fbe674

Please sign in to comment.