From b0bd1d82035c22031e75627df0d3853c9d1e285c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 24 Jan 2012 10:45:29 -0800 Subject: add bottom-up styles to the dropdown menus --- lib/dropdowns.less | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/dropdowns.less') 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; -- cgit v1.2.3