Commit 7a6c87f8c1aa34a7a00506fb89fb231e3a176f6f

Authored by Vben
1 parent 68ceb287

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

CHANGELOG.zh_CN.md
... ... @@ -18,6 +18,7 @@
18 18 - 修复`PageWrapper`title 不显示
19 19 - 修复表格已知问题
20 20 - 修复 BasicTree 组件不能自定义 title 问题
  21 +- 修复主题切换后按钮样式问题
21 22  
22 23 ## 2.0.3 (2021-03-07)
23 24  
... ...
src/design/ant/btn.less
... ... @@ -14,6 +14,11 @@
14 14 // bottom: 1px;
15 15 // }
16 16 // }
  17 + &-link:hover,
  18 + &-link:focus,
  19 + &-link:active {
  20 + border-color: transparent !important;
  21 + }
17 22  
18 23 &-primary {
19 24 color: @white;
... ... @@ -70,6 +75,7 @@
70 75 &:hover,
71 76 &:focus {
72 77 color: @button-success-hover-color;
  78 + border-color: transparent;
73 79 }
74 80 }
75 81  
... ... @@ -111,6 +117,7 @@
111 117 &:hover,
112 118 &:focus {
113 119 color: @button-warn-hover-color;
  120 + border-color: transparent;
114 121 }
115 122 }
116 123  
... ... @@ -144,6 +151,7 @@
144 151 &:hover,
145 152 &:focus {
146 153 color: @button-error-hover-color;
  154 + border-color: transparent;
147 155 }
148 156 }
149 157  
... ... @@ -165,9 +173,6 @@
165 173 color: @white;
166 174 background-color: fade(@button-error-color, 40%);
167 175 border-color: fade(@button-error-color, 40%);
168   -
169   - // background-color: @button-error-disabled-color;
170   - // border-color: @button-error-disabled-color ;
171 176 }
172 177 }
173 178  
... ...
src/router/menus/modules/demo/comp.ts
... ... @@ -8,7 +8,6 @@ const menu: MenuModule = {
8 8 path: '/comp',
9 9 tag: {
10 10 dot: true,
11   - type: 'warn',
12 11 },
13 12 children: [
14 13 {
... ...