From: Julien Déramond Date: Mon, 25 Jul 2022 17:11:44 +0000 (+0200) Subject: Docs: use added-in shortcode in Offcanvas (#36836) X-Git-Tag: v5.2.1~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99cd8ca8a0f2cb0db8276316943fdd1a2199e791;p=thirdparty%2Fbootstrap.git Docs: use added-in shortcode in Offcanvas (#36836) --- diff --git a/site/content/docs/5.2/components/offcanvas.md b/site/content/docs/5.2/components/offcanvas.md index 39a5fb826d..ffe69a8986 100644 --- a/site/content/docs/5.2/components/offcanvas.md +++ b/site/content/docs/5.2/components/offcanvas.md @@ -155,7 +155,7 @@ When backdrop is set to static, the offcanvas will not close when clicking outsi ## Responsive -Added in v5.2.0 +{{< added-in "5.2.0" >}} Responsive offcanvas classes hide content outside the viewport from a specified breakpoint and down. Above that breakpoint, the contents within will behave as usual. For example, `.offcanvas-lg` hides content in an offcanvas below the `lg` breakpoint, but shows the content above the `lg` breakpoint. @@ -245,7 +245,7 @@ Since the offcanvas panel is conceptually a modal dialog, be sure to add `aria-l ### Variables -Added in v5.2.0 +{{< added-in "5.2.0" >}} As part of Bootstrap's evolving CSS variables approach, offcanvas now uses local CSS variables on `.offcanvas` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.