fix(tab-bar): align tab text to the center (#16130)

fixes #15273
This commit is contained in:
Brandy Carney
2018-10-29 14:01:24 -04:00
committed by GitHub
parent 018fb9876f
commit 67eb7cf50d
2 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,8 @@
background: var(--background);
color: var(--color);
text-align: center;
contain: strict;
user-select: none;
z-index: $z-index-toolbar;

View File

@ -77,7 +77,7 @@
<ion-tab-button tab='2' layout="icon-top">
<ion-badge>6</ion-badge>
<ion-label>Favorites</ion-label>
<ion-label>hi</ion-label>
<ion-icon name="heart"></ion-icon>
</ion-tab-button>