diff options
author | Julien Déramond <julien.deramond@orange.com> | 2022-03-11 17:04:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-11 17:04:41 +0300 |
commit | 5bdd5e02a46101b96e83431b18c39979e337c033 (patch) | |
tree | d36820116c9199d9a0839fa37bed38746994d296 | |
parent | d21a51a2eaa73d98005dc79a59c5c0b1c5f54d15 (diff) |
docs: add missing `.dropup` in dropup centered example (#35948)
-rw-r--r-- | site/content/docs/5.1/components/dropdowns.md | 2 |
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 4308d5c621..7971e0dfd5 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> |