Browse Source

Fix focused select in addon (#2073)

pull/2074/head
偏右 9 years ago
committed by GitHub
parent
commit
048e2be5d4
  1. 11
      components/input/style/mixin.less

11
components/input/style/mixin.less

@ -1,6 +1,6 @@
@import "../../style/themes/default";
@import "../../style/mixins/index";
@import "../../style/mixins/index";
// size mixins for input
.input-lg() {
padding: @input-padding-vertical-lg @input-padding-horizontal;
@ -166,6 +166,15 @@
.ant-select-selection {
background-color: inherit;
border: 0;
margin: -1px;
border: 1px solid transparent;
}
&-open,
&-focused {
.ant-select-selection {
border-color: tint(@primary-color, 20%);
}
}
}
}

Loading…
Cancel
Save