docs: add missing `.dropup` in dropup centered example (#35948)

This commit is contained in:
Julien Déramond 2022-03-11 15:04:41 +01:00 committed by GitHub
parent d21a51a2ea
commit 5bdd5e02a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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>