Skip to content

Commit

Permalink
fix: inline-form span layout not work #3862
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Apr 17, 2021
1 parent 28e2660 commit a1e180d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion components/form/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,11 @@ form {

//== Inline Form
.@{form-prefix-cls}-inline {
display: flex;
flex-wrap: wrap;
.@{form-prefix-cls}-item {
display: inline-block;
flex: none;
flex-wrap: nowrap;
margin-right: 16px;
margin-bottom: 0;

Expand All @@ -376,6 +379,9 @@ form {
display: inline-block;
vertical-align: top;
}
> .@{form-prefix-cls}-item-label {
flex: none;
}
}

.@{form-prefix-cls}-text {
Expand Down

0 comments on commit a1e180d

Please sign in to comment.