From d443fa0df03c3bc6a02a20f816c887bf2a6cd944 Mon Sep 17 00:00:00 2001 From: Andrey Morozov Date: Wed, 27 Dec 2023 19:48:23 +0300 Subject: [PATCH] fix(Button): fix disabled raised view style (#1226) --- src/components/Button/Button.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Button/Button.scss b/src/components/Button/Button.scss index 3205023367..4b2798891e 100644 --- a/src/components/Button/Button.scss +++ b/src/components/Button/Button.scss @@ -189,9 +189,10 @@ $block: '.#{variables.$ns}button'; } &_raised { - --_--background-color: var(--g-color-base-float); --_--background-color-hover: var(--g-color-base-float-hover); + background: var(--g-color-base-float); + &::before { box-shadow: 0 3px 5px var(--g-color-sfx-shadow); } @@ -254,7 +255,7 @@ $block: '.#{variables.$ns}button'; @include mixins.pin( $block, - ('::before', '::after'), + (&, '::before', '::after'), var(--g-button-border-radius, var(--_--border-radius)) );