fix(tabs): Renamed .tab-item active state from .active to .tab-item-active, closes #866

This commit is contained in:
Adam Bradley
2014-03-24 08:20:31 -05:00
parent fa7d3a651a
commit 24160aa0bd
2 changed files with 2 additions and 2 deletions

View File

@@ -345,7 +345,7 @@ function($rootScope, $animate, $ionicBind, $compile, $ionicViewService) {
replace: true,
require: ['^ionTabs', '^ionTab'],
template:
'<a ng-class="{active: isTabActive(), \'has-badge\':badge}" ' +
'<a ng-class="{\'tab-item-active\': isTabActive(), \'has-badge\':badge}" ' +
' class="tab-item">' +
'<span class="badge {{badgeStyle}}" ng-if="badge">{{badge}}</span>' +
'<i class="icon {{getIconOn()}}" ng-if="getIconOn() && isTabActive()"></i>' +

View File

@@ -181,7 +181,7 @@
/* Navigational tab */
/* Active state for tab */
.tab-item.active {
.tab-item.tab-item-active {
opacity: 1;
&.tab-item-light {