mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +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 {
|
||||
padding-top: var(--ion-statusbar-padding);
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
padding-top: var(--ion-statusbar-padding, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user