Skip to content

Commit

Permalink
fix(iOS,cordova): no header padding
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoenescu committed Mar 26, 2018
1 parent ef52503 commit 3bdd38b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/layout/layout.ios.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions src/components/layout/layout.mat.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3bdd38b

Please sign in to comment.