Skip to content

Commit b00860b

Browse files
alan-agius4brandyscarney
authored andcommitted
fix(typography): Exclude ion-item on a tags selector (#8340)
1 parent 3dab925 commit b00860b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/typography/typography.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Ion } from '../ion';
99
* Select all of the HTML text elements with the color attribute to apply the text-color class.
1010
*/
1111
@Directive({
12-
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]'
12+
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]'
1313
})
1414
export class Typography extends Ion {
1515

0 commit comments

Comments
 (0)