mirror of https://github.com/twbs/bootstrap.git
Remove the default positioning from `.dropup` (#33120)
This commit is contained in:
parent
489e7b6798
commit
d983744d12
|
@ -70,15 +70,12 @@
|
||||||
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
||||||
// Just add .dropup after the standard .dropdown class and you're set.
|
// Just add .dropup after the standard .dropdown class and you're set.
|
||||||
.dropup {
|
.dropup {
|
||||||
.dropdown-menu {
|
.dropdown-menu[data-bs-popper] {
|
||||||
top: auto;
|
top: auto;
|
||||||
bottom: 100%;
|
bottom: 100%;
|
||||||
|
|
||||||
&[data-bs-popper] {
|
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: $dropdown-spacer;
|
margin-bottom: $dropdown-spacer;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.dropdown-toggle {
|
.dropdown-toggle {
|
||||||
@include caret(up);
|
@include caret(up);
|
||||||
|
|
Loading…
Reference in New Issue