mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-24 23:01:57 +08:00
fix(input): fix floating/stacked label relocate
This commit is contained in:
@ -7,11 +7,10 @@ ion-input,
|
||||
ion-textarea {
|
||||
display: block;
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// Textarea Within An Item
|
||||
// --------------------------------------------------
|
||||
|
||||
@ -108,9 +107,12 @@ input.text-input:-webkit-autofill {
|
||||
// Cloned Input
|
||||
// --------------------------------------------------
|
||||
|
||||
.text-input.cloned-input,
|
||||
.text-input.cloned-hidden {
|
||||
.text-input.cloned-input {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.item-input:not(.item-label-floating) .text-input.cloned-active {
|
||||
display: none;
|
||||
}
|
||||
|
Reference in New Issue
Block a user