Skip to content

Commit

Permalink
fix: Not break input group style
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Apr 7, 2020
1 parent 8dbaf66 commit 8fc1fbf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/input/style/mixin.less
Original file line number Diff line number Diff line change
Expand Up @@ -300,12 +300,16 @@
}

& > * {
display: inline-flex;
display: inline-block;
float: none;
vertical-align: top; // https://github.com/ant-design/ant-design-pro/issues/139
border-radius: 0;
}

& > .@{inputClass}-affix-wrapper {
display: inline-flex;
}

& > *:not(:last-child) {
margin-right: -@border-width-base;
border-right-width: @border-width-base;
Expand Down

0 comments on commit 8fc1fbf

Please sign in to comment.