Skip to content

Commit

Permalink
fix(NumberInput): remove border when input is invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Jan 23, 2024
1 parent 6086327 commit 1ba14ce
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,9 @@
}

.#{$prefix}--number__input-wrapper--slug
input[type='number']:not(:has(~ .#{$prefix}--slug--revert))
input[type='number']:not([data-invalid]):not(
:has(~ .#{$prefix}--slug--revert)
)
~ .#{$prefix}--number__controls
.#{$prefix}--number__control-btn {
border-block-end-color: $ai-border-strong;
Expand Down

0 comments on commit 1ba14ce

Please sign in to comment.