]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix(offcanvas): Adding titles class where missing (#35264)
authorOxydent <39617908+Oxydent@users.noreply.github.com>
Tue, 26 Oct 2021 11:37:45 +0000 (13:37 +0200)
committerGitHub <noreply@github.com>
Tue, 26 Oct 2021 11:37:45 +0000 (14:37 +0300)
Co-authored-by: louismaximepiton <louismaxime.piton@orange.com>
site/content/docs/5.1/components/offcanvas.md

index a5bf9426fea8be432b278fc2be2f4464b13631ba..b1dd9c601ff5a104e74e1dc051a8dac9797a298d 100644 (file)
@@ -95,7 +95,7 @@ Try the top, right, and bottom examples out below.
 
 <div class="offcanvas offcanvas-top" tabindex="-1" id="offcanvasTop" aria-labelledby="offcanvasTopLabel">
   <div class="offcanvas-header">
-    <h5 id="offcanvasTopLabel">Offcanvas top</h5>
+    <h5 class="offcanvas-title" id="offcanvasTopLabel">Offcanvas top</h5>
     <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
   </div>
   <div class="offcanvas-body">
@@ -109,7 +109,7 @@ Try the top, right, and bottom examples out below.
 
 <div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasRight" aria-labelledby="offcanvasRightLabel">
   <div class="offcanvas-header">
-    <h5 id="offcanvasRightLabel">Offcanvas right</h5>
+    <h5 class="offcanvas-title" id="offcanvasRightLabel">Offcanvas right</h5>
     <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
   </div>
   <div class="offcanvas-body">