From 6918c8d310d5a7b1618267d1e136e06c05350346 Mon Sep 17 00:00:00 2001 From: oasis-cloud Date: Fri, 21 Jul 2023 13:56:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(button):=20=E6=B8=90=E5=8F=98=E8=89=B2?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E8=BE=B9=E6=A1=86=E5=87=BA=E7=8E=B0=E9=87=8D?= =?UTF-8?q?=E5=8F=A0=20(#1250)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packages/button/button.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/packages/button/button.scss b/src/packages/button/button.scss index affcd813b8..b14bd7185b 100644 --- a/src/packages/button/button.scss +++ b/src/packages/button/button.scss @@ -65,6 +65,7 @@ &--solid { color: $button-primary-color; background: $button-primary-background-color; + background-origin: border-box; border: $button-border-width solid transparent; } @@ -82,6 +83,7 @@ &--primary { color: $button-primary-color; background: $button-primary-background-color; + background-origin: border-box; border: $button-border-width solid transparent; &.nut-button--outline { @@ -98,6 +100,7 @@ &--info { color: $button-info-color; background: $button-info-background-color; + background-origin: border-box; border: $button-border-width solid transparent; &.nut-button--outline { @@ -114,6 +117,7 @@ &--success { color: $button-success-color; background: $button-success-background-color; + background-origin: border-box; border: $button-border-width solid transparent; &.nut-button--outline { @@ -130,6 +134,7 @@ &--danger { color: $button-danger-color; background: $button-danger-background-color; + background-origin: border-box; border: $button-border-width solid transparent; &.nut-button--outline { @@ -146,6 +151,7 @@ &--warning { color: $button-warning-color; background: $button-warning-background-color; + background-origin: border-box; border: $button-border-width solid transparent; &.nut-button--outline {