aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorRohit Sharma <[email protected]>2021-02-08 22:49:19 +0530
committerXhmikosR <[email protected]>2021-02-09 14:34:27 +0200
commit273db7c2059e35f011ca64e25e8dcd129ff0792e (patch)
tree57c43f62eb06361bd28629cb99244e0b11e65a75 /scss
parentd56992b6d23109ffccc370cfdb36ffb8ae15d762 (diff)
downloadbootstrap-273db7c2059e35f011ca64e25e8dcd129ff0792e.tar.xz
bootstrap-273db7c2059e35f011ca64e25e8dcd129ff0792e.zip
Remove the default left styling in favor of Popper
Diffstat (limited to 'scss')
-rw-r--r--scss/_dropdown.scss5
1 files changed, 4 insertions, 1 deletions
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss
index 9a4f3a04d..b6184d2ad 100644
--- a/scss/_dropdown.scss
+++ b/scss/_dropdown.scss
@@ -17,7 +17,6 @@
.dropdown-menu {
position: absolute;
top: 100%;
- left: 0;
z-index: $zindex-dropdown;
display: none; // none by default, but block on "open" of the menu
min-width: $dropdown-min-width;
@@ -32,6 +31,10 @@
border: $dropdown-border-width solid $dropdown-border-color;
@include border-radius($dropdown-border-radius);
@include box-shadow($dropdown-box-shadow);
+
+ &[data-bs-popper] {
+ left: 0;
+ }
}
// scss-docs-start responsive-breakpoints