Skip to content

Commit

Permalink
fix(input): reset focus custom properties for the clear button
Browse files Browse the repository at this point in the history
  • Loading branch information
dgonzalezr committed Jul 20, 2023
1 parent 3ebaf26 commit 9c990a5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/bee-q/src/components/input/scss/bq-input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@
/* -------------------------------------------------------------------------- */

.bq-input--control__clear::part(button) {
// Since the clear button is inside the input group control,
// we need to reset the focus ring styles
--bq-ring-width: initial;
--bq-ring-offset-width: initial;
--bq-ring-color-focus: initial;

@apply h-auto rounded-xs border-none p-0;
}

Expand Down

0 comments on commit 9c990a5

Please sign in to comment.