mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-20 07:34:20 +08:00
Merge pull request #20841 from ant-design/feature
chore: feature merge into master
This commit is contained in:
commit
23bbc40180
@ -631,6 +631,8 @@
|
||||
// ---
|
||||
@switch-height: 22px;
|
||||
@switch-sm-height: 16px;
|
||||
@switch-min-width: 44px;
|
||||
@switch-sm-min-width: 28px;
|
||||
@switch-sm-checked-margin-left: -(@switch-sm-height - 3px);
|
||||
@switch-disabled-opacity: 0.4;
|
||||
@switch-color: @primary-color;
|
||||
|
@ -10,7 +10,7 @@
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
min-width: 44px;
|
||||
min-width: @switch-min-width;
|
||||
height: @switch-height;
|
||||
line-height: @switch-height - 2px;
|
||||
vertical-align: middle;
|
||||
@ -101,7 +101,7 @@
|
||||
}
|
||||
|
||||
&-small {
|
||||
min-width: 28px;
|
||||
min-width: @switch-sm-min-width;
|
||||
height: @switch-sm-height;
|
||||
line-height: @switch-sm-height - 2px;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user