From f6331a688fa467a8d9bc4e336dfcd652d9f61169 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Tue, 29 Sep 2015 16:41:30 -0500 Subject: [PATCH] fix(nabber): iOS nabber updates --- ionic/components/tabs/test/basic/index.ts | 73 +++++++++++++++++++++- ionic/components/tabs/test/basic/main.html | 20 ------ ionic/components/toolbar/modes/ios.scss | 6 +- 3 files changed, 73 insertions(+), 26 deletions(-) delete mode 100644 ionic/components/tabs/test/basic/main.html diff --git a/ionic/components/tabs/test/basic/index.ts b/ionic/components/tabs/test/basic/index.ts index 43aed36502..c41cb3e3d7 100644 --- a/ionic/components/tabs/test/basic/index.ts +++ b/ionic/components/tabs/test/basic/index.ts @@ -1,7 +1,74 @@ -import {App} from 'ionic/ionic'; + import {App, IonicView, NavController} from 'ionic/ionic'; +// +// Tab 1 +// +@IonicView({ + template: ` + + Heart + + +

Tab 1

+
+ ` +}) +class Tab1 { + constructor(nav: NavController) { + this.nav = nav; + } +} + +// +// Tab 2 +// +@IonicView({ + template: ` + + Star + + +

Tab 2

+
+ ` +}) +class Tab2 { + constructor(nav: NavController) { + this.nav = nav; + } +} + +// +// Tab 3 +// +@IonicView({ + template: ` + + Stopwatch + + +

Tab 3

+
+ ` +}) +class Tab3 { + constructor(nav: NavController) { + this.nav = nav; + } +} @App({ - templateUrl: 'main.html' + template: ` + + + + +` }) -class E2EApp {} +export class TabsPage { + constructor() { + this.root1 = Tab1; + this.root2 = Tab2; + this.root3 = Tab3; + } +} diff --git a/ionic/components/tabs/test/basic/main.html b/ionic/components/tabs/test/basic/main.html deleted file mode 100644 index 45a0a49e01..0000000000 --- a/ionic/components/tabs/test/basic/main.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - Tab 1 Content - - - - - - - - Tab 2 Content - - - - - diff --git a/ionic/components/toolbar/modes/ios.scss b/ionic/components/toolbar/modes/ios.scss index d541a096d1..e9175f4f05 100644 --- a/ionic/components/toolbar/modes/ios.scss +++ b/ionic/components/toolbar/modes/ios.scss @@ -49,7 +49,7 @@ $toolbar-ios-title-font-size: 1.7rem !default; } .back-button { - margin: 0 4px; + margin: 0; min-height: 3.2rem; line-height: 1; order: map-get($toolbar-order-ios, 'back-button'); @@ -59,7 +59,7 @@ $toolbar-ios-title-font-size: 1.7rem !default; .back-button-icon { display: inherit; margin: 0; - min-width: 20px; + min-width: 18px; font-size: 3.2rem; } @@ -76,7 +76,7 @@ ion-title { left: 0; width: 100%; height: 100%; - padding: 0px 90px; + padding: 0px 90px 1px 90px; pointer-events: none; }