mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-11 05:43:09 +00:00
Remove the default left styling in favor of Popper
This commit is contained in:
parent
d56992b6d2
commit
273db7c205
1 changed files with 4 additions and 1 deletions
|
|
@ -17,7 +17,6 @@
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
left: 0;
|
|
||||||
z-index: $zindex-dropdown;
|
z-index: $zindex-dropdown;
|
||||||
display: none; // none by default, but block on "open" of the menu
|
display: none; // none by default, but block on "open" of the menu
|
||||||
min-width: $dropdown-min-width;
|
min-width: $dropdown-min-width;
|
||||||
|
|
@ -32,6 +31,10 @@
|
||||||
border: $dropdown-border-width solid $dropdown-border-color;
|
border: $dropdown-border-width solid $dropdown-border-color;
|
||||||
@include border-radius($dropdown-border-radius);
|
@include border-radius($dropdown-border-radius);
|
||||||
@include box-shadow($dropdown-box-shadow);
|
@include box-shadow($dropdown-box-shadow);
|
||||||
|
|
||||||
|
&[data-bs-popper] {
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// scss-docs-start responsive-breakpoints
|
// scss-docs-start responsive-breakpoints
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue