Skip to content

Card header and content apply typography differently to their children #3878

@kdinev

Description

@kdinev

Description

The igx-card-header applies the typography colors by default to its child headings and paragraphs, while the igx-card-content doesn't, unless igx-card-content__text class has been applied to them.

  • igniteui-angular version: 7.1.5
  • browser: N/A

Steps to reproduce

  1. Define a card component.
  2. Define a theme for it with a custom background.
  3. Define a paragraph inside igx-card-header and igx-card-content.

Result

The paragraph has a different color applied.

Expected result

The paragraph should have the same color.

Attachments

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions