Make dropdown menus scalable.

This commit is contained in:
Kevin Martensson 2012-01-18 14:02:18 +01:00
parent f2fadf1f0a
commit 87113396df
4 changed files with 5 additions and 5 deletions

View File

@ -88,7 +88,7 @@
// Reposition menu on open and round all corners
.btn-group.open .dropdown-menu {
display: block;
top: 30px;
margin-top: 1px;
.border-radius(5px);
&.large { top: 40px; }
}

View File

@ -30,7 +30,7 @@
// The dropdown menu (ul)
.dropdown-menu {
position: absolute;
top: 40px;
top: 100%;
z-index: @zindexDropdown;
float: left;
display: none; // none by default, but block on "open" of the menu

View File

@ -191,7 +191,7 @@
// Menu position and menu carets
.navbar .dropdown-menu {
top: 41px;
margin-top: 1px;
.border-radius(4px);
&:before {
content: '';

View File

@ -177,7 +177,7 @@
// Position the menu
.pills .dropdown-menu,
.tabs .dropdown-menu {
top: 33px;
margin-top: 1px;
border-width: 1px;
}
.pills .dropdown-menu {
@ -239,7 +239,7 @@
// COMMON STYLES
// -------------
// -------------
// Clear any floats
.tabbable {