mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Make dropdown menus scalable.
This commit is contained in:
parent
f2fadf1f0a
commit
87113396df
@ -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; }
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -191,7 +191,7 @@
|
||||
|
||||
// Menu position and menu carets
|
||||
.navbar .dropdown-menu {
|
||||
top: 41px;
|
||||
margin-top: 1px;
|
||||
.border-radius(4px);
|
||||
&:before {
|
||||
content: '';
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user