mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(typography): Exclude ion-item on a tags selector (#8340)
This commit is contained in:
committed by
Brandy Carney
parent
3dab925375
commit
b00860bb78
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user