Skip to content

Commit

Permalink
docs(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 d3deb8b commit e8fa848
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 e8fa848

Please sign in to comment.