2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-27 14:46:01 +03:00

clean up and simplify support for bottom navbar by automagically turning dropdowns into dropups

This commit is contained in:
Mark Otto
2012-02-21 22:09:51 -08:00
parent 20221a67c2
commit 8bd67bb124
6 changed files with 8 additions and 46 deletions
+3 -1
View File
@@ -126,7 +126,9 @@
// Allow for dropdowns to go bottom up (aka, dropup-menu)
// ------------------------------------------------------
// Just add .dropup after the standard .dropdown class and you're set, bro.
.dropup {
// TODO: abstract this so that the navbar fixed styles are not placed here?
.dropup,
.navbar-fixed-bottom .dropdown {
// Reverse the caret
.caret {
border-top: 0;