From 98fd95f8f1ef9c7148883f978bcae7ec41398f14 Mon Sep 17 00:00:00 2001 From: Evgeniy Telegin Date: Mon, 20 May 2024 10:58:14 +0300 Subject: [PATCH] fix(Button): do not shrink button when there is only one icon (#1577) --- src/components/Button/Button.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Button/Button.scss b/src/components/Button/Button.scss index fbc18536e8..5172c7344d 100644 --- a/src/components/Button/Button.scss +++ b/src/components/Button/Button.scss @@ -294,6 +294,10 @@ $block: '.#{variables.$ns}button'; &_side_end { order: 1; } + + &:only-child { + margin: 0; + } } &:has(#{$block}__icon:only-child) {