Skip to content

Commit

Permalink
Remove unnecessary css for social icon button focus to make it consis…
Browse files Browse the repository at this point in the history
…tent with other focus styles
  • Loading branch information
jeryj committed Sep 4, 2024
1 parent 7b3944a commit eb95d1b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/block-library/src/social-link/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,6 @@
// This rule is duplicated from the style.scss and needs to be the same as there.
padding: 0.25em;

// Focus styles replicate the `@wordpress/components` button component.
&:focus:not(:disabled) {
border-radius: 2px;
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);

// Windows High Contrast mode will show this outline, but not the box-shadow.
outline: 3px solid transparent;
}

// Override the shared `.wp-block-social-link` class used on both the li and button
// due to backwards compatibility from moving the blockProps from the li to the button.
&:hover {
Expand Down

0 comments on commit eb95d1b

Please sign in to comment.