fix(text-input): increased padding left for text input when there is a label in front

fixes #498
This commit is contained in:
Brandy Carney
2015-11-12 17:58:15 -05:00
parent 32ab8c5d43
commit 00c1c748cb

View File

@ -23,6 +23,10 @@ ion-card {
color: $input-label-ios-color; color: $input-label-ios-color;
} }
ion-label + [text-input] {
margin-left: $item-ios-padding-left;
}
[stacked-label] ion-label { [stacked-label] ion-label {
font-size: 1.2rem; font-size: 1.2rem;
margin-bottom: 4px; margin-bottom: 4px;
@ -30,6 +34,7 @@ ion-card {
[stacked-label] [text-input], [stacked-label] [text-input],
[floating-label] [text-input] { [floating-label] [text-input] {
margin-left: 0;
margin-top: 8px; margin-top: 8px;
margin-bottom: 8px; margin-bottom: 8px;
} }