diff options
author | Mark Otto <markd.otto@gmail.com> | 2021-03-23 20:06:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 20:06:11 +0300 |
commit | 232e392c9126fcb1dbe13c963e7edcdbd62cfeb8 (patch) | |
tree | f51acad800dd8d4f8dcd98a91a2cb163926a2e62 /site/content/docs/5.0/components | |
parent | 220139a89ffc3864bbb6e1b35471667318eadc1f (diff) |
Make offcanvas example fully static (#33446)
Diffstat (limited to 'site/content/docs/5.0/components')
-rw-r--r-- | site/content/docs/5.0/components/offcanvas.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/5.0/components/offcanvas.md b/site/content/docs/5.0/components/offcanvas.md index 0e4aa1aa03..a2b5ed3fa5 100644 --- a/site/content/docs/5.0/components/offcanvas.md +++ b/site/content/docs/5.0/components/offcanvas.md @@ -28,7 +28,7 @@ Offcanvas is a sidebar component that can be toggled via JavaScript to appear fr Below is an offcanvas example that is shown by default (via `.show` on `.offcanvas`). Offcanvas includes support for a header with a close button and an optional body class for some initial `padding`. We suggest that you include offcanvas headers with dismiss actions whenever possible, or provide an explicit dismiss action. {{< example class="bd-example-offcanvas p-0 bg-light overflow-hidden" >}} -<div class="offcanvas offcanvas-start show" tabindex="-1" id="offcanvas" aria-labelledby="offcanvasLabel" data-bs-backdrop="false" data-bs-scroll="true"> +<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvas" aria-labelledby="offcanvasLabel"> <div class="offcanvas-header"> <h5 class="offcanvas-title" id="offcanvasLabel">Offcanvas</h5> <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button> |