Skip to content

Commit

Permalink
fix(typography): Exclude ion-item on a tags selector (#8340)
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-agius4 authored and brandyscarney committed Nov 9, 2016
1 parent 3dab925 commit b00860b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/typography/typography.ts
Expand Up @@ -9,7 +9,7 @@ import { Ion } from '../ion';
* Select all of the HTML text elements with the color attribute to apply the text-color class.
*/
@Directive({
selector: 'h1[color], h2[color], h3[color], h4[color], h5[color], h6[color], a[color]:not([ion-button]), p[color], span[color], b[color], i[color], strong[color], em[color], small[color], sub[color], sup[color]'
selector: 'h1[color], h2[color], h3[color], h4[color], h5[color], h6[color], a[color]:not([ion-button]):not([ion-item]), p[color], span[color], b[color], i[color], strong[color], em[color], small[color], sub[color], sup[color]'
})
export class Typography extends Ion {

Expand Down

0 comments on commit b00860b

Please sign in to comment.