mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
refactor(header): length-zero-no-unit is not needed
This commit is contained in:
@ -15,12 +15,5 @@ ion-header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ion-header ion-toolbar:first-child {
|
ion-header ion-toolbar:first-child {
|
||||||
padding-top: var(--ion-statusbar-padding);
|
padding-top: var(--ion-statusbar-padding, 0);
|
||||||
}
|
|
||||||
|
|
||||||
@supports (padding-top: env(safe-area-inset-top)) {
|
|
||||||
ion-header ion-toolbar:first-child {
|
|
||||||
/* stylelint-disable-next-line length-zero-no-unit */
|
|
||||||
padding-top: var(--ion-statusbar-padding, 0px);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user