mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-24 06:03:10 +02:00
docs: add missing .dropup
in dropup centered example (#35948)
This commit is contained in:
@@ -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.
|
Make the dropup menu centered above the toggle with `.dropup-center` on the parent element.
|
||||||
|
|
||||||
{{< example >}}
|
{{< 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">
|
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropupCenterBtn" data-bs-toggle="dropdown" aria-expanded="false">
|
||||||
Centered dropup
|
Centered dropup
|
||||||
</button>
|
</button>
|
||||||
|
Reference in New Issue
Block a user