mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 23:46: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;
|
||||
line-height: @switch-height;
|
||||
vertical-align: middle;
|
||||
background-image: linear-gradient(to right, @disabled-color, @disabled-color),
|
||||
linear-gradient(to right, @component-background, @component-background);
|
||||
background-color: @disabled-color;
|
||||
border: 0;
|
||||
border-radius: 100px;
|
||||
cursor: pointer;
|
||||
@ -39,7 +38,7 @@
|
||||
}
|
||||
|
||||
&-checked {
|
||||
background: @switch-color;
|
||||
background-color: @switch-color;
|
||||
}
|
||||
|
||||
&-loading,
|
||||
|
Loading…
Reference in New Issue
Block a user