We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4849638 commit 2894d79Copy full SHA for 2894d79
packages/block-library/src/social-link/editor.scss
@@ -20,6 +20,15 @@
20
21
// This rule is duplicated from the style.scss and needs to be the same as there.
22
padding: 0.25em;
23
+
24
+ // Focus styles replicate the `@wordpress/components` button component.
25
+ &:focus:not(:disabled) {
26
+ border-radius: 2px;
27
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
28
29
+ // Windows High Contrast mode will show this outline, but not the box-shadow.
30
+ outline: 3px solid transparent;
31
+ }
32
}
33
34
.wp-block-social-links.is-style-pill-shape .wp-social-link button {
0 commit comments