Skip to content

Commit

Permalink
fix(tabs): don't add outline to the class name if it is a logo icon
Browse files Browse the repository at this point in the history
fixes #6899
  • Loading branch information
brandyscarney committed Jun 17, 2016
1 parent 5d3acc8 commit af22287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/icon/icon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export class Icon {
css += this._name;
}

if (this.mode === 'ios' && !this.isActive) {
if (this.mode === 'ios' && !this.isActive && css.indexOf('logo') < 0) {
css += '-outline';
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/tabs/test/basic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export class Tab3 {
<ion-tabs #content (ionChange)="onChange($event)">
<ion-tab tabTitle="Plain List" tabIcon="star" [root]="root1" (ionSelect)="onSelect($event)"></ion-tab>
<ion-tab tabTitle="Schedule" tabIcon="globe" [root]="root2"></ion-tab>
<ion-tab tabTitle="Stopwatch" tabIcon="stopwatch" [root]="root3"></ion-tab>
<ion-tab tabTitle="Stopwatch" tabIcon="logo-facebook" [root]="root3"></ion-tab>
<ion-tab tabTitle="Messages" tabIcon="chatboxes" [root]="root1"></ion-tab>
<ion-tab tabTitle="My Profile" tabIcon="person" [root]="root2"></ion-tab>
</ion-tabs>
Expand Down

0 comments on commit af22287

Please sign in to comment.