use perfix varible in less

This commit is contained in:
afc163 2016-08-17 13:47:23 +08:00
parent 1f670b84a9
commit 9645fdf3c4

View File

@ -152,16 +152,16 @@
}
&-lg {
.ant-select-selection--single {
.@{select-prefix-cls}-selection--single {
height: 32px;
.ant-select-selection__rendered {
.@{select-prefix-cls}-selection__rendered {
line-height: 30px;
}
}
.ant-select-selection--multiple {
.@{select-prefix-cls}-selection--multiple {
min-height: 32px;
.ant-select-selection__rendered {
.@{select-prefix-cls}-selection__rendered {
li {
height: 24px;
line-height: 24px;
@ -171,18 +171,18 @@
}
&-sm {
.ant-select-selection {
.@{select-prefix-cls}-selection {
border-radius: @border-radius-sm;
}
.ant-select-selection--single {
.@{select-prefix-cls}-selection--single {
height: 22px;
.ant-select-selection__rendered {
.@{select-prefix-cls}-selection__rendered {
line-height: 20px;
}
}
.ant-select-selection--multiple {
.@{select-prefix-cls}-selection--multiple {
min-height: 22px;
.ant-select-selection__rendered {
.@{select-prefix-cls}-selection__rendered {
li {
height: 14px;
line-height: 14px;