mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(backbtn): incorrect elementRef
This commit is contained in:
@ -91,11 +91,11 @@ export class Navbar extends ToolbarBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setBackButtonRef(backButtonElementRef) {
|
setBackButtonRef(backButtonElementRef) {
|
||||||
this.bbtRef = backButtonElementRef;
|
this.bbRef = backButtonElementRef;
|
||||||
}
|
}
|
||||||
|
|
||||||
getBackButtonTextRef() {
|
getBackButtonTextRef() {
|
||||||
return this.bbRef;
|
return this.bbtRef;
|
||||||
}
|
}
|
||||||
|
|
||||||
setBackButtonTextRef(backButtonTextElementRef) {
|
setBackButtonTextRef(backButtonTextElementRef) {
|
||||||
|
@ -46,6 +46,7 @@ $toolbar-md-button-font-size: 1.4rem !default;
|
|||||||
}
|
}
|
||||||
|
|
||||||
ion-title {
|
ion-title {
|
||||||
|
padding: 0 12px;
|
||||||
font-size: $toolbar-md-title-font-size;
|
font-size: $toolbar-md-title-font-size;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user