add bottom-up styles to the dropdown menus

This commit is contained in:
Mark Otto
2012-01-24 10:45:29 -08:00
parent 7d2e13f1b4
commit b0bd1d8203
3 changed files with 15 additions and 2 deletions

View File

@@ -54,6 +54,13 @@
*border-right-width: 2px;
*border-bottom-width: 2px;
// Allow for dropdowns to go bottom up (aka, dropup-menu)
&.bottom-up {
top: auto;
bottom: 100%;
margin-bottom: 2px;
}
// Dividers (basically an hr) within the dropdown
.divider {
height: 1px;