fix(button): fix button style error close #312

This commit is contained in:
Vben
2021-03-12 22:25:59 +08:00
parent 68ceb2871f
commit 7a6c87f8c1
3 changed files with 9 additions and 4 deletions

View File

@@ -18,6 +18,7 @@
- 修复`PageWrapper`title 不显示 - 修复`PageWrapper`title 不显示
- 修复表格已知问题 - 修复表格已知问题
- 修复 BasicTree 组件不能自定义 title 问题 - 修复 BasicTree 组件不能自定义 title 问题
- 修复主题切换后按钮样式问题
## 2.0.3 (2021-03-07) ## 2.0.3 (2021-03-07)

View File

@@ -14,6 +14,11 @@
// bottom: 1px; // bottom: 1px;
// } // }
// } // }
&-link:hover,
&-link:focus,
&-link:active {
border-color: transparent !important;
}
&-primary { &-primary {
color: @white; color: @white;
@@ -70,6 +75,7 @@
&:hover, &:hover,
&:focus { &:focus {
color: @button-success-hover-color; color: @button-success-hover-color;
border-color: transparent;
} }
} }
@@ -111,6 +117,7 @@
&:hover, &:hover,
&:focus { &:focus {
color: @button-warn-hover-color; color: @button-warn-hover-color;
border-color: transparent;
} }
} }
@@ -144,6 +151,7 @@
&:hover, &:hover,
&:focus { &:focus {
color: @button-error-hover-color; color: @button-error-hover-color;
border-color: transparent;
} }
} }
@@ -165,9 +173,6 @@
color: @white; color: @white;
background-color: fade(@button-error-color, 40%); background-color: fade(@button-error-color, 40%);
border-color: fade(@button-error-color, 40%); border-color: fade(@button-error-color, 40%);
// background-color: @button-error-disabled-color;
// border-color: @button-error-disabled-color ;
} }
} }

View File

@@ -8,7 +8,6 @@ const menu: MenuModule = {
path: '/comp', path: '/comp',
tag: { tag: {
dot: true, dot: true,
type: 'warn',
}, },
children: [ children: [
{ {