aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2020-11-30 18:59:50 +0100
committerXhmikosR <[email protected]>2020-12-04 16:15:51 +0200
commit5f89ea3a0f9b56547eb03b98afcd189b89d7e5a6 (patch)
tree9229dd0cb2a4152f33e45f39f20825aabe9a96e1
parent6c069b697614a4ab9053c4f6d4a3aad75fbcaf97 (diff)
downloadbootstrap-5f89ea3a0f9b56547eb03b98afcd189b89d7e5a6.tar.xz
bootstrap-5f89ea3a0f9b56547eb03b98afcd189b89d7e5a6.zip
Add toasts & positioning utilities migration docs
-rw-r--r--site/content/docs/5.0/migration.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md
index 0cf0618e4..da554c332 100644
--- a/site/content/docs/5.0/migration.md
+++ b/site/content/docs/5.0/migration.md
@@ -61,6 +61,10 @@ Breakpoints specific variants are consequently renamed too (eg. `.text-md-start`
- Renamed `scale-color()` function to `shift-color()` to avoid collision with Sass's own color scaling function.
+### Utilities
+
+- Added new `.translate-middle-x` & `.translate-middle-y` utilities to horizontally or vertically center absolute/fixed positioned elements.
+
### Components
#### Breadcrumbs
@@ -68,6 +72,10 @@ Breakpoints specific variants are consequently renamed too (eg. `.text-md-start`
- Simplified the default appearance of breadcrumbs by removing `padding`, `background-color`, and `border-radius`.
- Added new CSS custom property `--bs-breadcrumb-divider` for easy customization without needing to recompile CSS.
+#### Toasts
+
+- Toasts can now be [positioned]({{< docsref "/components/toasts#placement" >}}) in a `.toast-container` with the help of [positioning utilities]({{< docsref "/utilities/position" >}}).
+
## v5.0.0-alpha3
### Browser support