Skip to content

Commit

Permalink
fix(ClearButton): increase selector specificity (#945)
Browse files Browse the repository at this point in the history
Co-authored-by: Yevhenii Chernovol <[email protected]>
  • Loading branch information
imechoim and imechoim authored Aug 24, 2023
1 parent 637f88d commit edee285
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/controls/common/ClearButton/ClearButton.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
@use '../../../variables';

$block: '.#{variables.$ns-new}clear-button';
$blockRoot: '.#{variables.$ns-new}root';

#{$block} {
// #{$blockRoot} used to increase selector specificity
#{$blockRoot} #{$block} {
--yc-button-background-color: transparent;
--yc-button-background-color-hover: transparent;

Expand Down

0 comments on commit edee285

Please sign in to comment.