fix(button): bar-button uses inner span as flexbox

- Fixed block/full buttons, now there are display: block
- Fixes <ion-segment-button> warnings
This commit is contained in:
Manu Mtz.-Almeida
2016-02-09 01:53:34 +01:00
parent b0a8045af0
commit 38a3be438f
11 changed files with 81 additions and 75 deletions

View File

@@ -20,7 +20,7 @@ class MyCmpTest{}
<button><ion-icon name="star"></ion-icon></button>
</ion-buttons>
<ion-buttons end>
<button>S1</button>
<button>S1g</button>
</ion-buttons>
</ion-navbar>
<ion-content>
@@ -74,7 +74,7 @@ class FirstPage {
setPages() {
let items = [
{page: PrimaryHeaderPage}
{ page: PrimaryHeaderPage }
];
this.nav.setPages(items);
@@ -89,7 +89,7 @@ class FirstPage {
}
pushFullPage() {
this.nav.push(FullPage, { id: 8675309, myData: [1,2,3,4] } );
this.nav.push(FullPage, { id: 8675309, myData: [1, 2, 3, 4] });
}
pushAnother() {
@@ -139,8 +139,8 @@ class FullPage {
setPages() {
let items = [
{page: FirstPage},
{page: PrimaryHeaderPage}
{ page: FirstPage },
{ page: PrimaryHeaderPage }
];
this.nav.setPages(items);
@@ -190,6 +190,9 @@ class FullPage {
template: `
<ion-navbar *navbar primary>
<ion-title>Primary Color Page Header</ion-title>
<ion-buttons end>
<button>S1g</button>
</ion-buttons>
</ion-navbar>
<ion-content padding>
<p><button class="e2eFrom3To2" (click)="nav.pop()">Pop</button></p>
@@ -218,7 +221,7 @@ class PrimaryHeaderPage {
}
pushFullPage() {
this.nav.push(FullPage, { id: 8675309, myData: [1,2,3,4] } );
this.nav.push(FullPage, { id: 8675309, myData: [1, 2, 3, 4] });
}
insert() {