Browse Source

fix: padding right for select[size=small] (#20506)

* fix: padding right for select[size=small]

* fix: add style on class with arrow icon
pull/20516/head
Yash Joshi 5 years ago
committed by 二货机器人
parent
commit
f022709f91
  1. 13
      components/select/style/single.less

13
components/select/style/single.less

@ -104,4 +104,17 @@
}
}
}
// With arrow should provides `padding-right` to show the arrow and the above style overrides this
&.@{select-prefix-cls}-show-arrow.@{select-prefix-cls}-sm {
&:not(.@{select-prefix-cls}-customize-input) {
.@{select-prefix-cls}-selector {
&,
.@{select-prefix-cls}-selection-item,
.@{select-prefix-cls}-selection-placeholder {
padding-right: @control-padding-horizontal + @font-size-sm;
}
}
}
}
}

Loading…
Cancel
Save