]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Doc: consistent rendering of 'Heads up!' callouts (#39249)
authorJulien Déramond <juderamond@gmail.com>
Fri, 29 Sep 2023 04:55:51 +0000 (06:55 +0200)
committerGitHub <noreply@github.com>
Fri, 29 Sep 2023 04:55:51 +0000 (06:55 +0200)
site/content/docs/5.3/components/offcanvas.md
site/content/docs/5.3/helpers/stacks.md

index 7c4c86206600d3495efcaa59e3fd1af42cccb781..6a16b3e612731e0f0fcc456bfd7a248b7b2d917e 100644 (file)
@@ -144,7 +144,7 @@ When backdrop is set to static, the offcanvas will not close when clicking outsi
 Change the appearance of offcanvases with utilities to better match them to different contexts like dark navbars. Here we add `.text-bg-dark` to the `.offcanvas` and `.btn-close-white` to `.btn-close` for proper styling with a dark offcanvas. If you have dropdowns within, consider also adding `.dropdown-menu-dark` to `.dropdown-menu`.
 
 {{< callout warning >}}
-Heads up! Dark variants for components were deprecated in v5.3.0 with the introduction of color modes. Instead of manually adding classes mentioned above, set `data-bs-theme="dark"` on the root element, a parent wrapper, or the component itself.
+**Heads up!** Dark variants for components were deprecated in v5.3.0 with the introduction of color modes. Instead of manually adding classes mentioned above, set `data-bs-theme="dark"` on the root element, a parent wrapper, or the component itself.
 {{< /callout >}}
 
 {{< example class="bd-example-offcanvas p-0 bg-body-secondary overflow-hidden" >}}
index caa2c67ff5e2e35d58bbf888e4f4c73bced2bd9c..ffe434188b6aabb2ee62d3112f95c151435d570c 100644 (file)
@@ -10,7 +10,7 @@ added: "5.1"
 Stacks offer a shortcut for applying a number of flexbox properties to quickly and easily create layouts in Bootstrap. All credit for the concept and implementation goes to the open source [Pylon project](https://almonk.github.io/pylon/).
 
 {{< callout warning >}}
-Heads up! Support for gap utilities with flexbox was recently added to Safari, so consider verifying your intended browser support. Grid layout should have no issues. [Read more](https://caniuse.com/flexbox-gap).
+**Heads up!** Support for gap utilities with flexbox was recently added to Safari, so consider verifying your intended browser support. Grid layout should have no issues. [Read more](https://caniuse.com/flexbox-gap).
 {{< /callout >}}
 
 ## Vertical