Skip to content

Commit

Permalink
Autocomplete clear icon bug
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoHai committed Apr 5, 2017
1 parent 71495e7 commit 5285b39
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions components/auto-complete/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
&-selection {
border: 0;
box-shadow: none;
&--single {
height: 100%;
}
&__rendered {
margin-left: 0;
margin-right: 0;
Expand All @@ -27,6 +24,12 @@
}
}

&-allow-clear {
.@{select-prefix-cls}-selection:hover .@{select-prefix-cls}-selection__rendered {
margin-right: 0 !important;
}
}

.@{input-prefix-cls} {
.input();
background: transparent;
Expand Down

0 comments on commit 5285b39

Please sign in to comment.