Skip to content

Commit

Permalink
fix(toolbar): fixes segment/title aligment when cordova iOS style is …
Browse files Browse the repository at this point in the history
…applied

closes #5208
  • Loading branch information
manucorporat committed Feb 10, 2016
1 parent ef1fc75 commit 2766f7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ionic/components/toolbar/toolbar.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions ionic/platform/cordova.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// iOS Cordova
// --------------------------------------------------

$cordova-ios-toolbar-padding: 2rem !default;
$cordova-ios-toolbar-padding: 20px !default;


&.platform-cordova.platform-ios {
Expand All @@ -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,
Expand Down

0 comments on commit 2766f7f

Please sign in to comment.