mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
fix right aligned dropdowns
This commit is contained in:
parent
fed3b59e46
commit
bbb2fb3395
4 changed files with 10 additions and 6 deletions
Binary file not shown.
8
docs/assets/css/bootstrap.css
vendored
8
docs/assets/css/bootstrap.css
vendored
|
@ -1641,6 +1641,10 @@ table .span12 {
|
|||
.dropdown.open .dropdown-menu {
|
||||
display: block;
|
||||
}
|
||||
.pull-right .dropdown-menu {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
.typeahead {
|
||||
margin-top: 2px;
|
||||
-webkit-border-radius: 4px;
|
||||
|
@ -2709,10 +2713,6 @@ button.btn.small, input[type="submit"].btn.small {
|
|||
.navbar .nav .active > .dropdown-toggle:hover {
|
||||
color: #ffffff;
|
||||
}
|
||||
.navbar .nav.pull-right .dropdown-menu {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
.navbar .nav.pull-right .dropdown-menu:before {
|
||||
left: auto;
|
||||
right: 12px;
|
||||
|
|
|
@ -123,6 +123,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Right aligned dropdowns
|
||||
.pull-right .dropdown-menu {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
// Typeahead
|
||||
.typeahead {
|
||||
margin-top: 2px; // give it some space to breathe
|
||||
|
|
|
@ -286,8 +286,6 @@
|
|||
|
||||
// Right aligned menus need alt position
|
||||
.navbar .nav.pull-right .dropdown-menu {
|
||||
left: auto;
|
||||
right: 0;
|
||||
&:before {
|
||||
left: auto;
|
||||
right: 12px;
|
||||
|
|
Loading…
Reference in a new issue