floating labels

This commit is contained in:
Adam Bradley
2015-09-04 12:37:20 -05:00
parent b44c46dc59
commit f60084f16e
7 changed files with 120 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ ion-label {
max-width: 200px;
font-size: inherit;
white-space: nowrap;
pointer-events: none;
}
[fixed-label] ion-label {
@@ -16,9 +17,14 @@ ion-label {
max-width: 200px;
}
ion-input[stacked-label] {
ion-input[stacked-label],
ion-input[floating-label] {
flex-direction: column;
align-items: flex-start;
}
[stacked-label],
[floating-label] {
ion-label {
align-self: stretch;
@@ -30,4 +36,5 @@ ion-input[stacked-label] {
align-self: stretch;
width: auto;
}
}