We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9445e1 commit b0a79abCopy full SHA for b0a79ab
1 file changed
packages/components/src/components/number-input/_number-input.scss
@@ -371,9 +371,13 @@
371
background-color: transparent;
372
}
373
374
+ // We include `:not(:focus)` here because the pseudo elements will overlap the
375
+ // focus outline on the button if we set their background-color on focus
376
.#{$prefix}--number--light .#{$prefix}--number__control-btn:hover,
- .#{$prefix}--number--light .#{$prefix}--number__control-btn:hover::before,
- .#{$prefix}--number--light .#{$prefix}--number__control-btn:hover::after {
377
+ .#{$prefix}--number--light
378
+ .#{$prefix}--number__control-btn:not(:focus):hover::before,
379
380
+ .#{$prefix}--number__control-btn:not(:focus):hover::after {
381
background-color: $hover-light-ui;
382
383
0 commit comments