From edee285af48e8817184fb2214916f09159ca545d Mon Sep 17 00:00:00 2001 From: imechoim Date: Thu, 24 Aug 2023 12:58:13 +0200 Subject: [PATCH] fix(ClearButton): increase selector specificity (#945) Co-authored-by: Yevhenii Chernovol --- src/components/controls/common/ClearButton/ClearButton.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/controls/common/ClearButton/ClearButton.scss b/src/components/controls/common/ClearButton/ClearButton.scss index 7aeaa9bbfe..fd6375af86 100644 --- a/src/components/controls/common/ClearButton/ClearButton.scss +++ b/src/components/controls/common/ClearButton/ClearButton.scss @@ -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;