mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
revert: fix Switch background flush bug (#37458)
revert #35103 close #37453
This commit is contained in:
parent
f47535a153
commit
986bd02d6d
@ -17,8 +17,7 @@
|
|||||||
height: @switch-height;
|
height: @switch-height;
|
||||||
line-height: @switch-height;
|
line-height: @switch-height;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
background-image: linear-gradient(to right, @disabled-color, @disabled-color),
|
background-color: @disabled-color;
|
||||||
linear-gradient(to right, @component-background, @component-background);
|
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 100px;
|
border-radius: 100px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -39,7 +38,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-checked {
|
&-checked {
|
||||||
background: @switch-color;
|
background-color: @switch-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-loading,
|
&-loading,
|
||||||
|
Loading…
Reference in New Issue
Block a user