Fix floating label on expandable textfield (fixes #304)
This commit is contained in:
parent
c5dbe72fa4
commit
46b35d22ec
@ -65,7 +65,7 @@
|
||||
background: $input-text-font-size;
|
||||
text-align: left;
|
||||
color: inherit;
|
||||
|
||||
|
||||
.mdl-textfield.is-focused & {
|
||||
outline: none;
|
||||
}
|
||||
@ -113,6 +113,11 @@
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.mdl-textfield--floating-label.is-focused .mdl-textfield__expandable-holder &,
|
||||
.mdl-textfield--floating-label.is-dirty .mdl-textfield__expandable-holder &{
|
||||
top: -($input-text-floating-label-fontsize + $input-text-padding);
|
||||
}
|
||||
|
||||
.mdl-textfield--floating-label.is-invalid & {
|
||||
color: $input-text-error-color;
|
||||
font-size: 12px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user