diff options
| author | Mark Otto <[email protected]> | 2012-01-24 10:45:29 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-24 10:45:29 -0800 |
| commit | b0bd1d82035c22031e75627df0d3853c9d1e285c (patch) | |
| tree | 2a29e66403d8d6a73a9310fd1bb8594c572b8daf /lib/dropdowns.less | |
| parent | 7d2e13f1b4e0de55f3107f2aaa22326e26866541 (diff) | |
| download | bootstrap-b0bd1d82035c22031e75627df0d3853c9d1e285c.tar.xz bootstrap-b0bd1d82035c22031e75627df0d3853c9d1e285c.zip | |
add bottom-up styles to the dropdown menus
Diffstat (limited to 'lib/dropdowns.less')
| -rw-r--r-- | lib/dropdowns.less | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/dropdowns.less b/lib/dropdowns.less index e2c32f180..06114b254 100644 --- a/lib/dropdowns.less +++ b/lib/dropdowns.less @@ -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; |
