Skip to content

Commit

Permalink
fix: focus for error text
Browse files Browse the repository at this point in the history
  • Loading branch information
Kezhik Kyzyl-ool committed Feb 15, 2024
1 parent 633abc3 commit 910b5de
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,5 +246,13 @@ $blockButton: '.#{variables.$ns}select-control__button';
box-sizing: content-box;
color: var(--g-color-text-danger);
padding: var(--_--text-input-error-icon-padding);
border-radius: var(--g-focus-border-radius);

&:focus {
outline: 2px solid var(--g-color-line-focus);
}
&:focus:not(:focus-visible) {
outline: 0;
}
}
}

0 comments on commit 910b5de

Please sign in to comment.