mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-26 08:13:34 +08:00
fix(input): min height is set on host (#26495)
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
@ -62,7 +62,7 @@
|
||||
// Input Wrapper
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
.input-wrapper {
|
||||
:host(:not(.legacy-input)) {
|
||||
min-height: 56px;
|
||||
}
|
||||
|
||||
|
@ -287,6 +287,8 @@
|
||||
|
||||
height: 100%;
|
||||
|
||||
min-height: inherit;
|
||||
|
||||
transition: background-color 15ms linear;
|
||||
|
||||
background: var(--background);
|
||||
|
Reference in New Issue
Block a user