revert: fix Switch background flush bug (#37458)

revert #35103

close #37453
This commit is contained in:
afc163 2022-09-08 13:35:44 +08:00 committed by GitHub
parent f47535a153
commit 986bd02d6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,