My ionic 3 header need to show a menu icon a title and a button in the end. However with these 3 things the header renders these in 3 different rows rather in one single row. See the screenshot as an example
https://www.dropbox.com/s/jrn95uppcwol3v8/ionic_header_issue.png?dl=0
the header looks like below home.html
<ion-header>
<ion-navbar hideBackButton="true">
<page-header [title]="'My Company'"></page-header>
</ion-navbar>
</ion-header>
pageHeader.html
<ion-buttons left>
<button ion-button menuToggle icon-only >
<ion-icon name='menu'></ion-icon>
</button>
</ion-buttons>
<ion-title>{{title}}</ion-title>
<ion-buttons right>
<button ion-button (click)="openCart()"><ion-icon name="cart"></ion-icon>
<ion-badge >1</ion-badge>
</button>
</ion-buttons>
add some inline styles like this