From 9dd401406e11fcfd5ba029c5e571505f7668e009 Mon Sep 17 00:00:00 2001 From: dyh_a Date: Fri, 28 Jul 2023 05:21:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(components/button):=20span=20=E5=86=85?= =?UTF-8?q?=E9=83=A8=E4=B8=BA=20i=20=E6=A0=87=E7=AD=BE=E7=9A=84=E6=97=B6?= =?UTF-8?q?=E5=80=99=E4=B8=8D=E4=BC=9A=E5=9E=82=E7=9B=B4=E5=B1=85=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/components/src/button/index.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/components/src/button/index.scss b/packages/components/src/button/index.scss index 8daa6eb7..f2a93f21 100644 --- a/packages/components/src/button/index.scss +++ b/packages/components/src/button/index.scss @@ -52,6 +52,10 @@ $r: Name.$button; // transition-property: all; transition-timing-function: ease-in-out; transition-duration: var(--t-transition-duration); + & > span { + display: inline-flex; + align-items: center; + } &:not([disabled]):hover { --t-btn-color: var(--t-btn-hover-color); --t-btn-bg-color: var(--t-btn-hover-bg-color);