From 3bdd38bea6df8b0d84368aaeeb9f5e3993f8228b Mon Sep 17 00:00:00 2001 From: Razvan Stoenescu Date: Mon, 26 Mar 2018 23:07:03 +0300 Subject: [PATCH] fix(iOS,cordova): no header padding --- src/components/layout/layout.ios.styl | 4 ++-- src/components/layout/layout.mat.styl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/layout/layout.ios.styl b/src/components/layout/layout.ios.styl index ad9531f73d5..4f65f96e8d6 100644 --- a/src/components/layout/layout.ios.styl +++ b/src/components/layout/layout.ios.styl @@ -56,8 +56,8 @@ $layout-transition = all .12s ease-in pointer-events auto body.cordova.platform-ios - .q-layout-header > .q-toolbar:first-child, - .q-layout-header > .q-tabs:first-child .q-tabs-head + .q-layout-header > .q-toolbar:nth-child(2), + .q-layout-header > .q-tabs:nth-child(2) .q-tabs-head .q-layout-drawer.top-padding padding-top $ios-statusbar-height min-height ($toolbar-min-height + $ios-statusbar-height) diff --git a/src/components/layout/layout.mat.styl b/src/components/layout/layout.mat.styl index 4865a5b84a9..9f299847b5e 100644 --- a/src/components/layout/layout.mat.styl +++ b/src/components/layout/layout.mat.styl @@ -54,8 +54,8 @@ $layout-transition = all .12s ease-in pointer-events auto body.cordova.platform-ios - .q-layout-header > .q-toolbar:first-child, - .q-layout-header > .q-tabs:first-child .q-tabs-head + .q-layout-header > .q-toolbar:nth-child(2), + .q-layout-header > .q-tabs:nth-child(2) .q-tabs-head .q-layout-drawer.top-padding padding-top $ios-statusbar-height min-height ($toolbar-min-height + $ios-statusbar-height)