From 2766f7fda8f537baa18f6b91df5f73f7da7a344e Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Wed, 10 Feb 2016 18:52:11 +0100 Subject: [PATCH] fix(toolbar): fixes segment/title aligment when cordova iOS style is applied closes #5208 --- ionic/components/toolbar/toolbar.ios.scss | 2 +- ionic/platform/cordova.ios.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ionic/components/toolbar/toolbar.ios.scss b/ionic/components/toolbar/toolbar.ios.scss index 9e32bdde952..8c142ed2612 100644 --- a/ionic/components/toolbar/toolbar.ios.scss +++ b/ionic/components/toolbar/toolbar.ios.scss @@ -17,7 +17,7 @@ $toolbar-order-ios: ( ); $toolbar-ios-padding: 4px !default; -$toolbar-ios-height: 4.4rem !default; +$toolbar-ios-height: 44px !default; $toolbar-ios-button-font-size: 1.7rem !default; $toolbar-ios-title-font-size: 1.7rem !default; $navbar-ios-height: $toolbar-ios-height !default; diff --git a/ionic/platform/cordova.ios.scss b/ionic/platform/cordova.ios.scss index 25b7e84b1ab..c07eb2a8a76 100644 --- a/ionic/platform/cordova.ios.scss +++ b/ionic/platform/cordova.ios.scss @@ -3,7 +3,7 @@ // iOS Cordova // -------------------------------------------------- -$cordova-ios-toolbar-padding: 2rem !default; +$cordova-ios-toolbar-padding: 20px !default; &.platform-cordova.platform-ios { @@ -15,7 +15,7 @@ $cordova-ios-toolbar-padding: 2rem !default; ion-navbar ion-title, ion-navbar ion-segment, { - padding-top: $cordova-ios-toolbar-padding; + padding-top: $cordova-ios-toolbar-padding - $toolbar-ios-padding; } ion-navbar,