mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-06 04:08: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
|
// Reposition menu on open and round all corners
|
||||||
.btn-group.open .dropdown-menu {
|
.btn-group.open .dropdown-menu {
|
||||||
display: block;
|
display: block;
|
||||||
top: 30px;
|
margin-top: 1px;
|
||||||
.border-radius(5px);
|
.border-radius(5px);
|
||||||
&.large { top: 40px; }
|
&.large { top: 40px; }
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
// The dropdown menu (ul)
|
// The dropdown menu (ul)
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 40px;
|
top: 100%;
|
||||||
z-index: @zindexDropdown;
|
z-index: @zindexDropdown;
|
||||||
float: left;
|
float: left;
|
||||||
display: none; // none by default, but block on "open" of the menu
|
display: none; // none by default, but block on "open" of the menu
|
||||||
|
@ -191,7 +191,7 @@
|
|||||||
|
|
||||||
// Menu position and menu carets
|
// Menu position and menu carets
|
||||||
.navbar .dropdown-menu {
|
.navbar .dropdown-menu {
|
||||||
top: 41px;
|
margin-top: 1px;
|
||||||
.border-radius(4px);
|
.border-radius(4px);
|
||||||
&:before {
|
&:before {
|
||||||
content: '';
|
content: '';
|
||||||
|
@ -177,7 +177,7 @@
|
|||||||
// Position the menu
|
// Position the menu
|
||||||
.pills .dropdown-menu,
|
.pills .dropdown-menu,
|
||||||
.tabs .dropdown-menu {
|
.tabs .dropdown-menu {
|
||||||
top: 33px;
|
margin-top: 1px;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
}
|
}
|
||||||
.pills .dropdown-menu {
|
.pills .dropdown-menu {
|
||||||
@ -239,7 +239,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// COMMON STYLES
|
// COMMON STYLES
|
||||||
// -------------
|
// -------------
|
||||||
|
|
||||||
// Clear any floats
|
// Clear any floats
|
||||||
.tabbable {
|
.tabbable {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user