From bd38edc5a46cca33ce6eea13de5624782bc2e907 Mon Sep 17 00:00:00 2001 From: telegine Date: Mon, 13 May 2024 14:19:19 +0300 Subject: [PATCH] fix(Button): do not shrink button when there is only one icon --- src/components/Button/Button.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Button/Button.scss b/src/components/Button/Button.scss index fbc18536e8..bc65bb5222 100644 --- a/src/components/Button/Button.scss +++ b/src/components/Button/Button.scss @@ -34,6 +34,7 @@ $block: '.#{variables.$ns}button'; color 0.15s linear; transform: scale(1); display: inline-flex; + flex-shrink: 0; justify-content: center; padding: 0 var(--g-button-padding, var(--_--padding)); gap: var(--g-button-icon-offset, var(--_--icon-offset));