diff options
| author | louismaximepiton <[email protected]> | 2022-07-25 16:51:27 +0200 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2022-07-25 15:50:53 -0600 |
| commit | dc901d25fa663807886a9564765bae0f6fe47f8f (patch) | |
| tree | e9a5ed39c2abac5d19ef707b1c7d5b1b00568f3c | |
| parent | 01bf7a9b86e6cffcf8f7436f8afa898a9453bd19 (diff) | |
| download | bootstrap-dc901d25fa663807886a9564765bae0f6fe47f8f.tar.xz bootstrap-dc901d25fa663807886a9564765bae0f6fe47f8f.zip | |
Adding missing offcanvas `added-in` shortcode
| -rw-r--r-- | site/content/docs/5.2/components/offcanvas.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/site/content/docs/5.2/components/offcanvas.md b/site/content/docs/5.2/components/offcanvas.md index ffe69a898..a7384f978 100644 --- a/site/content/docs/5.2/components/offcanvas.md +++ b/site/content/docs/5.2/components/offcanvas.md @@ -81,6 +81,8 @@ You can use a link with the `href` attribute, or a button with the `data-bs-targ ### Dark offcanvas +{{< added-in "5.2.0" >}} + 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`. {{< example class="bd-example-offcanvas p-0 bg-light overflow-hidden" >}} |
