aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/_variables.scss4
-rw-r--r--site/content/docs/5.0/migration.md4
2 files changed, 6 insertions, 2 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 6b9ae3d3f..9e2af089f 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -1067,8 +1067,8 @@ $toast-header-border-color: rgba(0, 0, 0, .05) !default;
$badge-font-size: .75em !default;
$badge-font-weight: $font-weight-bold !default;
$badge-color: $white !default;
-$badge-padding-y: .25em !default;
-$badge-padding-x: .5em !default;
+$badge-padding-y: .35em !default;
+$badge-padding-x: .65em !default;
$badge-border-radius: $border-radius !default;
diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md
index af44951eb..12e10f3e4 100644
--- a/site/content/docs/5.0/migration.md
+++ b/site/content/docs/5.0/migration.md
@@ -35,6 +35,10 @@ toc: true
### Components
+### Badges
+
+- Increased default padding for badges from `.25em`/`.5em` to `.35em`/`.65em`.
+
#### Buttons
- Disabled states of buttons are easier to customize thanks to additional arguments in the `button-variant()` mixin. [See #30639.](https://github.com/twbs/bootstrap/pull/30639)