From a2346bf11b767e5836151c8c1ba3c1ef033fb82f Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Thu, 17 Sep 2015 22:16:11 -0500 Subject: [PATCH] fix(backbtn): incorrect elementRef --- ionic/components/nav-bar/nav-bar.ts | 4 ++-- ionic/components/toolbar/modes/md.scss | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ionic/components/nav-bar/nav-bar.ts b/ionic/components/nav-bar/nav-bar.ts index ed1773d6db..8a336af475 100644 --- a/ionic/components/nav-bar/nav-bar.ts +++ b/ionic/components/nav-bar/nav-bar.ts @@ -91,11 +91,11 @@ export class Navbar extends ToolbarBase { } setBackButtonRef(backButtonElementRef) { - this.bbtRef = backButtonElementRef; + this.bbRef = backButtonElementRef; } getBackButtonTextRef() { - return this.bbRef; + return this.bbtRef; } setBackButtonTextRef(backButtonTextElementRef) { diff --git a/ionic/components/toolbar/modes/md.scss b/ionic/components/toolbar/modes/md.scss index ab0900e915..586a5021ce 100644 --- a/ionic/components/toolbar/modes/md.scss +++ b/ionic/components/toolbar/modes/md.scss @@ -46,6 +46,7 @@ $toolbar-md-button-font-size: 1.4rem !default; } ion-title { + padding: 0 12px; font-size: $toolbar-md-title-font-size; font-weight: 500; }