2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

navbar and dropdown fixes, for alignments and for ie7/8 dropdown hidden bugs from #3946

This commit is contained in:
Mark Otto
2012-08-14 16:24:58 -07:00
parent f3479a3953
commit 9c72246d49
6 changed files with 32 additions and 17 deletions
+1
View File
@@ -15,6 +15,7 @@
position: relative;
height: 0;
overflow: hidden;
overflow: visible \9;
.transition(height .35s ease);
&.in {
height: auto;
+2 -1
View File
@@ -154,11 +154,12 @@
.input-block-level {
display: block;
width: 100%;
min-height: 28px; // Make inputs at least the height of their button counterpart
min-height: 30px; // Make inputs at least the height of their button counterpart
.box-sizing(border-box); // Makes inputs behave like true block-level elements
}
// Mixin for form field states
.formFieldState(@textColor: #555, @borderColor: #ccc, @backgroundColor: #f5f5f5) {
// Set the text color
+2 -2
View File
@@ -327,8 +327,8 @@
}
// Right aligned menus need alt position
.navbar .pull-right .dropdown-menu,
.navbar .dropdown-menu.pull-right {
.navbar .pull-right > li > .dropdown-menu,
.navbar .nav > li > .dropdown-menu.pull-right {
left: auto;
right: 0;
&:before {