Skip to content

Commit

Permalink
docs(material/badge): specify badge targets must be block-level
Browse files Browse the repository at this point in the history
Fixes #16992
  • Loading branch information
jelbourn committed Mar 9, 2021
1 parent 0950cd5 commit b3890ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/material/badge/badge.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ Badges are small status descriptors for UI elements. A badge consists of a small
typically containing a number or other short set of characters, that appears in proximity to
another object.

Badges must always be applied to [block-level elements][block-level].

[block-level]: https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements

<!-- example(badge-overview) -->

### Badge position
Expand Down

0 comments on commit b3890ef

Please sign in to comment.