Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Badge: Add max-width for text truncation
  • Loading branch information
t-hamano committed Oct 24, 2025
commit 4030e4e23345b27aec15a2c96cf9539b5bc7c7a8
1 change: 1 addition & 0 deletions packages/components/src/badge/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ $badge-colors: (
min-height: $grid-unit-30;
border-radius: $radius-small;
line-height: 0;
max-width: 100%;

// Prevents anchor text-decoration styles from being applied through a parent.
display: inline-block;
Expand Down
Loading