style: Switch background should not be transparent (#35103)

This commit is contained in:
afc163 2022-04-20 09:48:18 +08:00 committed by GitHub
parent 12d98f9ed6
commit f180ec6df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,8 @@
height: @switch-height;
line-height: @switch-height;
vertical-align: middle;
background-color: @disabled-color;
background-image: linear-gradient(to right, @disabled-color, @disabled-color),
linear-gradient(to right, @white, @white);
border: 0;
border-radius: 100px;
cursor: pointer;
@ -38,7 +39,7 @@
}
&-checked {
background-color: @switch-color;
background: @switch-color;
}
&-loading,