]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Adding missing offcanvas `added-in` shortcode
authorlouismaximepiton <louismaxime.piton@orange.com>
Mon, 25 Jul 2022 14:51:27 +0000 (16:51 +0200)
committerMark Otto <otto@github.com>
Mon, 25 Jul 2022 21:50:53 +0000 (15:50 -0600)
site/content/docs/5.2/components/offcanvas.md

index ffe69a8986abda3e97597f7b11ad2141ad2f775f..a7384f978b79e79f99d9975a04e1c1549d277f99 100644 (file)
@@ -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" >}}