docs-bug(badge): Example uses inline elements. #25751
Labels
area: material/badge
docs
This issue is related to documentation
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
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
The text was updated successfully, but these errors were encountered: