Skip to content

Commit

Permalink
docs(material/badge): specify badge targets must be block-level (#22169)
Browse files Browse the repository at this point in the history
Fixes #16992

(cherry picked from commit a9a0a09)
  • Loading branch information
jelbourn authored and annieyw committed Mar 9, 2021
1 parent 045af6f commit 48e1431
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 48e1431

Please sign in to comment.