Added .is-up modifier for dropdown. (#1254)

This commit is contained in:
Yan Sern
2017-10-07 18:02:49 +02:00
committed by Jeremy Thomas
parent fc5ddd473c
commit 9e294874a2
2 changed files with 43 additions and 0 deletions

View File

@@ -25,6 +25,12 @@ $dropdown-divider-background-color: $border !default
.dropdown-menu
left: auto
right: 0
&.is-up
.dropdown-menu
top: auto
bottom: 100%
padding-top: unset
padding-bottom: $dropdown-content-offset
.dropdown-menu
display: none