Skip to content

Commit

Permalink
fix(comp:form): repair the form-item-input-content centering (#1032)
Browse files Browse the repository at this point in the history
* fix(comp:form): repair the form-item-input centering(#1019)

* fix(comp:slider): auto fill width

fix #1019
  • Loading branch information
winchesHe authored Jul 25, 2022
1 parent a6190aa commit 785abb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/form/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@
align-items: center;

&-content {
display: flex;
align-items: center;
flex: auto;
max-width: 100%;
}
Expand Down
1 change: 1 addition & 0 deletions packages/components/slider/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
.@{slider-prefix} {
position: relative;
box-sizing: border-box;
flex: 1;
height: 12px;
margin: 10px 6px;
padding: 4px 0;
Expand Down

0 comments on commit 785abb5

Please sign in to comment.