diff options
author | GeoSot <geo.sotis@gmail.com> | 2022-04-13 04:16:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-13 04:16:18 +0300 |
commit | 8aaeb3cb6b5fe4f3eb6ed5872e172404aa8397a6 (patch) | |
tree | 3333ba06f75ac6b8fc47157a7a20eb109646ffb7 /site | |
parent | 33992b7d5b2176d90aee9a1933219b498a9888d4 (diff) |
Remove tooltip and popover styling as it is handled by Popper (#34627)
* Remove not needed css form tooltip & popover as it is made by popper
Remove tooltip margin variable, as popper needs margin to be zero
* Remove popover left/top initializers as they are handled by popper
* nullify `margin` variable and add deprecation message
* Document change in migration guide
* Update _variables.scss
Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Diffstat (limited to 'site')
-rw-r--r-- | site/content/docs/5.1/migration.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/site/content/docs/5.1/migration.md b/site/content/docs/5.1/migration.md index ad29a33426..baba2dffab 100644 --- a/site/content/docs/5.1/migration.md +++ b/site/content/docs/5.1/migration.md @@ -118,6 +118,8 @@ Your custom Bootstrap CSS builds should now look something like this with a sepa - **Added new snippet examples based to show how to customize our components. —** Pull ready to use customized components and other common design patterns with our new [Snippets examples]({{< docsref "/examples#snippets" >}}). Includes [footers]({{< docsref "/examples/footers/" >}}), [dropdowns]({{< docsref "/examples/dropdowns/" >}}), [list groups]({{< docsref "/examples/list-groups/" >}}), and [modals]({{< docsref "/examples/modals/" >}}). +- **Removed unused positioning styles from popovers and tooltips** as these are handled solely by Popper.js. `$tooltip-margin` has been deprecated and set to `null` in the process. + Want more information? [Read the v5.1.0 blog post.](https://blog.getbootstrap.com/2021/08/04/bootstrap-5-1-0/) <hr class="my-5"> |