Skip to content

Commit

Permalink
fix(Select): fix wrong view "clear" styles (#1224)
Browse files Browse the repository at this point in the history
  • Loading branch information
maeshchenko authored Dec 26, 2023
1 parent 3dcf03d commit 4f4e13e
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@ $blockButton: '.#{variables.$ns-new}select-control__button';

&_view_clear {
border-color: transparent;

&::before {
border-color: transparent;
}
&::after {
border-color: transparent;
}
}

&_size_s {
Expand Down Expand Up @@ -178,11 +185,11 @@ $blockButton: '.#{variables.$ns-new}select-control__button';
}
}

&:not(&_error):not(&_disabled):hover::before {
&:not(&_error):not(&_disabled):not(&_view_clear):hover::before {
border-color: var(--g-color-line-generic-hover);
}

&_open:not(&_error)::before,
&_open:not(&_error):not(&_view_clear)::before,
&:not(&_error):focus-visible::before {
border-color: var(--g-color-line-generic-active);
}
Expand Down

0 comments on commit 4f4e13e

Please sign in to comment.