fix(input): min height is set on host (#26495)

This commit is contained in:
Liam DeBeasi
2022-12-16 13:43:59 -05:00
committed by GitHub
parent bd4027b0fa
commit 0cd6e918e8
3 changed files with 6 additions and 4 deletions

View File

@ -31,7 +31,7 @@
// Input Wrapper
// ----------------------------------------------------------------
.input-wrapper {
:host(:not(.legacy-input)) {
min-height: 44px;
}
@ -40,7 +40,7 @@
* the component needs to be taller otherwise the
* label will appear too close to the input text.
*/
:host(.input-label-placement-floating) .input-wrapper,
:host(.input-label-placement-stacked) .input-wrapper {
:host(.input-label-placement-floating),
:host(.input-label-placement-stacked) {
min-height: 56px;
}

View File

@ -62,7 +62,7 @@
// Input Wrapper
// ----------------------------------------------------------------
.input-wrapper {
:host(:not(.legacy-input)) {
min-height: 56px;
}

View File

@ -287,6 +287,8 @@
height: 100%;
min-height: inherit;
transition: background-color 15ms linear;
background: var(--background);