aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--site/content/docs/5.1/components/dropdowns.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/5.1/components/dropdowns.md b/site/content/docs/5.1/components/dropdowns.md
index 4308d5c62..7971e0dfd 100644
--- a/site/content/docs/5.1/components/dropdowns.md
+++ b/site/content/docs/5.1/components/dropdowns.md
@@ -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>