mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00
style: fix linter errors
This commit is contained in:
@ -14,13 +14,12 @@ ion-datetime {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
|
|
||||||
min-width: 16px;
|
min-width: 16px;
|
||||||
|
min-height: 1.2em;
|
||||||
|
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
|
line-height: 1.2;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
min-height: 1.2em;
|
|
||||||
line-height: 1.2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.datetime-disabled,
|
.datetime-disabled,
|
||||||
@ -32,6 +31,7 @@ ion-datetime {
|
|||||||
|
|
||||||
.item-label-stacked ion-datetime,
|
.item-label-stacked ion-datetime,
|
||||||
.item-label-floating ion-datetime {
|
.item-label-floating ion-datetime {
|
||||||
width: 100%;
|
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
|
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -16,14 +16,17 @@ $datetime-wp-border-color: $input-wp-border-color !default;
|
|||||||
|
|
||||||
ion-datetime {
|
ion-datetime {
|
||||||
padding: $datetime-wp-padding-top $datetime-wp-padding-right $datetime-wp-padding-bottom $datetime-wp-padding-left;
|
padding: $datetime-wp-padding-top $datetime-wp-padding-right $datetime-wp-padding-bottom $datetime-wp-padding-left;
|
||||||
|
|
||||||
min-width: $datetime-wp-min-width;
|
min-width: $datetime-wp-min-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
.datetime-text {
|
.datetime-text {
|
||||||
|
padding: 0 8px;
|
||||||
|
|
||||||
|
min-height: 3.4rem;
|
||||||
|
|
||||||
border: $datetime-wp-border-width solid $datetime-wp-border-color;
|
border: $datetime-wp-border-width solid $datetime-wp-border-color;
|
||||||
line-height: 3rem;
|
line-height: 3rem;
|
||||||
min-height: 3.4rem;
|
|
||||||
padding: 0 8px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-datetime ion-label[floating] {
|
.item-datetime ion-label[floating] {
|
||||||
|
Reference in New Issue
Block a user