Skip to content

Commit af22287

Browse files
committedJun 17, 2016
fix(tabs): don't add outline to the class name if it is a logo icon
fixes #6899
1 parent 5d3acc8 commit af22287

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/components/icon/icon.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export class Icon {
143143
css += this._name;
144144
}
145145

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

‎src/components/tabs/test/basic/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export class Tab3 {
224224
<ion-tabs #content (ionChange)="onChange($event)">
225225
<ion-tab tabTitle="Plain List" tabIcon="star" [root]="root1" (ionSelect)="onSelect($event)"></ion-tab>
226226
<ion-tab tabTitle="Schedule" tabIcon="globe" [root]="root2"></ion-tab>
227-
<ion-tab tabTitle="Stopwatch" tabIcon="stopwatch" [root]="root3"></ion-tab>
227+
<ion-tab tabTitle="Stopwatch" tabIcon="logo-facebook" [root]="root3"></ion-tab>
228228
<ion-tab tabTitle="Messages" tabIcon="chatboxes" [root]="root1"></ion-tab>
229229
<ion-tab tabTitle="My Profile" tabIcon="person" [root]="root2"></ion-tab>
230230
</ion-tabs>

0 commit comments

Comments
 (0)
Please sign in to comment.