Skip to content

Commit c0e1f7d

Browse files
committed
Fix #25746
1 parent a651d73 commit c0e1f7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/4.0/migration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ The navbar has been entirely rewritten in flexbox with improved support for alig
243243

244244
### Labels and badges
245245

246-
- Renamed `.label` to `.badge` to disambiguate from the `<label>` element.
247-
- Dropped the `.badge` component as it was nearly identical to labels. Use the `.badge-pill` modifier together with the label component instead for that rounded look.
246+
- Consolidated `.label` and `.badge` to disambiguate from the `<label>` element and simplify related components.
247+
- Added `.badge-pill` as modifier for rounded "pill" look.
248248
- Badges are no longer floated automatically in list groups and other components. Utility classes are now required for that.
249249
- `.badge-default` has been dropped and `.badge-secondary` added to match component modifier classes used elsewhere.
250250

0 commit comments

Comments
 (0)