]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
docs: add missing `.dropup` in dropup centered example (#35948)
authorJulien Déramond <julien.deramond@orange.com>
Fri, 11 Mar 2022 14:04:41 +0000 (15:04 +0100)
committerGitHub <noreply@github.com>
Fri, 11 Mar 2022 14:04:41 +0000 (16:04 +0200)
site/content/docs/5.1/components/dropdowns.md

index 4308d5c6213a7a7af837e9e3aa1f95f9015f1033..7971e0dfd5958ef1f201355a5b2dd376f8c0d6a1 100644 (file)
@@ -481,7 +481,7 @@ Trigger dropdown menus above elements by adding `.dropup` to the parent element.
 Make the dropup menu centered above the toggle with `.dropup-center` on the parent element.
 
 {{< example >}}
-<div class="dropup-center">
+<div class="dropup-center dropup">
   <button class="btn btn-secondary dropdown-toggle" type="button" id="dropupCenterBtn" data-bs-toggle="dropdown" aria-expanded="false">
     Centered dropup
   </button>