mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(text-input): increased padding left for text input when there is a label in front
fixes #498
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user