mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(tabs): Renamed .tab-item active state from .active to .tab-item-active, closes #866
This commit is contained in:
2
js/ext/angular/src/directive/ionicTabBar.js
vendored
2
js/ext/angular/src/directive/ionicTabBar.js
vendored
@@ -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>' +
|
||||
|
||||
@@ -181,7 +181,7 @@
|
||||
/* Navigational tab */
|
||||
|
||||
/* Active state for tab */
|
||||
.tab-item.active {
|
||||
.tab-item.tab-item-active {
|
||||
opacity: 1;
|
||||
|
||||
&.tab-item-light {
|
||||
|
||||
Reference in New Issue
Block a user