Skip to content

Commit

Permalink
Remove the default left styling in favor of Popper
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit2sharma95 authored and XhmikosR committed Feb 9, 2021
1 parent 58380bb commit c8807c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scss/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit c8807c3

Please sign in to comment.