Skip to content

Commit

Permalink
fix(button): fix button style error close #312
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Mar 12, 2021
1 parent 68ceb28 commit 7a6c87f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- 修复`PageWrapper`title 不显示
- 修复表格已知问题
- 修复 BasicTree 组件不能自定义 title 问题
- 修复主题切换后按钮样式问题

## 2.0.3 (2021-03-07)

Expand Down
11 changes: 8 additions & 3 deletions src/design/ant/btn.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
// bottom: 1px;
// }
// }
&-link:hover,
&-link:focus,
&-link:active {
border-color: transparent !important;
}

&-primary {
color: @white;
Expand Down Expand Up @@ -70,6 +75,7 @@
&:hover,
&:focus {
color: @button-success-hover-color;
border-color: transparent;
}
}

Expand Down Expand Up @@ -111,6 +117,7 @@
&:hover,
&:focus {
color: @button-warn-hover-color;
border-color: transparent;
}
}

Expand Down Expand Up @@ -144,6 +151,7 @@
&:hover,
&:focus {
color: @button-error-hover-color;
border-color: transparent;
}
}

Expand All @@ -165,9 +173,6 @@
color: @white;
background-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 ;
}
}

Expand Down
1 change: 0 additions & 1 deletion src/router/menus/modules/demo/comp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const menu: MenuModule = {
path: '/comp',
tag: {
dot: true,
type: 'warn',
},
children: [
{
Expand Down

0 comments on commit 7a6c87f

Please sign in to comment.