From 38fb161af00186d9b6ec8e9618645ac5476b20ea Mon Sep 17 00:00:00 2001 From: Jan Hassel Date: Tue, 10 Mar 2020 17:18:04 +0100 Subject: [PATCH] fix(button): prevent text jump in disabled button set (#5556) * fix(button): prevent text jump in disabled button set * fix(button): simplify disabled rule on button set Co-authored-by: TJ Egan Co-authored-by: Josh Black --- packages/components/src/components/button/_button.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/components/button/_button.scss b/packages/components/src/components/button/_button.scss index 37fd2c7af487..8b35494ac567 100644 --- a/packages/components/src/components/button/_button.scss +++ b/packages/components/src/components/button/_button.scss @@ -32,7 +32,7 @@ + .#{$prefix}--btn--primary.#{$prefix}--btn--disabled, .#{$prefix}--btn--tertiary.#{$prefix}--btn--disabled + .#{$prefix}--btn--danger.#{$prefix}--btn--disabled { - border-left: rem(1px) solid $disabled-03; + box-shadow: rem(-1px) 0 0 0 $disabled-03; } .#{$prefix}--btn {