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