fix(tabs): get the tabbar layout working with shadow DOM (#15113)

- gets the `tabbarLayout` property working
- update badge position based on tabs layout
- fix the transforms for icon/text and icon size

fixes #14611
This commit is contained in:
Brandy Carney
2018-08-10 17:41:38 -04:00
committed by GitHub
parent 85ffe01675
commit 575c5eb292
10 changed files with 143 additions and 155 deletions

View File

@ -75,7 +75,7 @@ export class TabButton {
{ icon && <ion-icon class="tab-button-icon" icon={icon} lazy={false}></ion-icon> }
{ label && <span class="tab-button-text">{label}</span> }
{ badge && <ion-badge class="tab-badge" color={badgeColor}>{badge}</ion-badge> }
{ mode === 'md' && <ion-ripple-effect tapClick={true}/> }
{ mode === 'md' && <ion-ripple-effect tapClick={true}></ion-ripple-effect> }
</a>
];
}