mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
style: Switch background should not be transparent (#35103)
This commit is contained in:
parent
12d98f9ed6
commit
f180ec6df5
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user