Skip to content

Commit

Permalink
[Button] Disable focus-ring styles
Browse files Browse the repository at this point in the history
  • Loading branch information
laurkim committed Jan 24, 2024
1 parent 40e92f7 commit 0823024
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions polaris-react/src/components/Button/Button.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@
color: var(--pc-button-color_hover);
outline: var(--p-border-width-050) solid var(--p-color-border-focus);
outline-offset: var(--p-space-025);

// Disable focus-ring mixin to prevent overlap of focus-ring and outline
&::after {
content: none;
}
}

.Button:disabled,
Expand Down

0 comments on commit 0823024

Please sign in to comment.