]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add toasts & positioning utilities migration docs
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Mon, 30 Nov 2020 17:59:50 +0000 (18:59 +0100)
committerXhmikosR <xhmikosr@gmail.com>
Fri, 4 Dec 2020 14:15:51 +0000 (16:15 +0200)
site/content/docs/5.0/migration.md

index 0cf0618e47efcffe67975aff117d065e43898111..da554c3322f305f2a0138f1c75f74e8be85287f1 100644 (file)
@@ -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