Skip to content

docs-bug(badge): Example uses inline elements. #25751

@james-schwartzkopf

Description

@james-schwartzkopf

Documentation Feedback

Issue #16992 was fixed by adding a line to the docs saying "Badges must always be applied to block-level elements".

This is immediately followed by examples using inline elements.

We recently wasted a lot of time trying to figure out why our badges weren't working till we found this issue, and only then noticed the warning on the badge page.

Affected documentation page

https://material.angular.io/components/badge/overview

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/badgedocsThis issue is related to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions