Skip to content

Commit

Permalink
Update: (Fixes #344) Dropdown re-add dropdown menu positions (not com…
Browse files Browse the repository at this point in the history
…patible with popper.js positioning)
  • Loading branch information
pat270 committed Jul 28, 2017
1 parent a669598 commit 235dedb
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions src/scss/lexicon-base/_dropdowns.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,56 @@
}
}

// Dropdown Positions

.dropdown-menu-left-side {
bottom: auto !important;
left: auto !important;
right: 100% !important;
top: 0 !important;
transform: none !important;
}

.dropdown-menu-left-side-bottom {
bottom: 0 !important;
left: auto !important;
right: 100% !important;
top: auto !important;
transform: none !important;
}

.dropdown-menu-left-side-middle {
bottom: auto !important;
left: auto !important;
right: 100% !important;
top: 50% !important;
transform: translate(0 , -50%) !important;
}

.dropdown-menu-right-side {
bottom: auto !important;
left: 100% !important;
right: auto !important;
top: 0 !important;
transform: none !important;
}

.dropdown-menu-right-side-bottom {
bottom: 0 !important;
left: 100% !important;
right: auto !important;
top: auto !important;
transform: none !important;
}

.dropdown-menu-right-side-middle {
bottom: auto !important;
left: 100% !important;
right: auto !important;
top: 50% !important;
transform: translate(0 , -50%) !important;
}

// Dropdown inline-scroller

.inline-scroller {
Expand Down

0 comments on commit 235dedb

Please sign in to comment.