From 5f89ea3a0f9b56547eb03b98afcd189b89d7e5a6 Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Mon, 30 Nov 2020 18:59:50 +0100 Subject: [PATCH] Add toasts & positioning utilities migration docs --- site/content/docs/5.0/migration.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md index 0cf0618e47..da554c3322 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