Skip to content

Using mat-typography w/ md-subheader inside md-list causes extra margin #5639

@grizzm0

Description

@grizzm0

Bug, feature request, or proposal:

Bug

What is the expected behavior?

While using "mat-typography" globally components such as sub-header should not be affected

What is the current behavior?

Sub-header gets 16px margin-bottom.

What are the steps to reproduce?

https://plnkr.co/edit/xyn5CLEnh6yzLgxftXud?p=preview

What is the use-case or motivation for changing an existing behavior?

Being able to use mat-typography globally.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions