Browse Source

feat(select): sync placeholder color (input) (#26651)

pull/26655/head
Dave 4 years ago
committed by GitHub
parent
commit
0b4563579b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/select/style/index.less
  2. 2
      components/select/style/single.less

2
components/select/style/index.less

@ -90,9 +90,9 @@
&-selection-placeholder {
flex: 1;
overflow: hidden;
color: @input-placeholder-color;
white-space: nowrap;
text-overflow: ellipsis;
opacity: 0.4;
// IE11 css hack. `*::-ms-backdrop,` is a must have
@media all and (-ms-high-contrast: none) {

2
components/select/style/single.less

@ -67,7 +67,7 @@
// Opacity selection if open
&.@{select-prefix-cls}-open .@{select-prefix-cls}-selection-item {
opacity: 0.4;
color: @input-placeholder-color;
}
// ========================== Input ==========================

Loading…
Cancel
Save