Skip to content

Commit

Permalink
text-field: height can be adjusted with the height style. fixed #313
Browse files Browse the repository at this point in the history
  • Loading branch information
zdhxiong committed May 2, 2024
1 parent 1150931 commit 2d5439b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/mdui/src/components/text-field/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
position: relative;
display: flex;
align-items: center;
height: 100%;
.transition(box-shadow, short4, standard);
.padding(0, 16);

Expand Down Expand Up @@ -186,6 +187,7 @@

.input-container {
width: 100%;
height: 100%;
}

.label {
Expand Down Expand Up @@ -276,6 +278,8 @@
display: flex;
flex-wrap: wrap;
width: 100%;
height: 100%;
min-height: 100%;
border: none;
outline: none;
background: none;
Expand All @@ -291,6 +295,7 @@
&.hide-input {
opacity: 0;
height: 0;
min-height: 0;
padding: 0 !important;
overflow: hidden;
}
Expand Down

0 comments on commit 2d5439b

Please sign in to comment.