Skip to content

Commit

Permalink
fix(button): 渐变色导致边框出现重叠 (#1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
oasis-cloud authored Jul 21, 2023
1 parent 7aa2283 commit 6918c8d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/packages/button/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
&--solid {
color: $button-primary-color;
background: $button-primary-background-color;
background-origin: border-box;
border: $button-border-width solid transparent;
}

Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 6918c8d

Please sign in to comment.