mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
allow .input-prepend/.input-append to work in .navbar per #1681
This commit is contained in:
parent
be6fdd9a62
commit
3e00c1261f
Binary file not shown.
7
docs/assets/css/bootstrap.css
vendored
7
docs/assets/css/bootstrap.css
vendored
@ -2530,6 +2530,13 @@ button.btn.small, input[type="submit"].btn.small {
|
||||
.navbar-form input[type="image"], .navbar-form input[type="checkbox"], .navbar-form input[type="radio"] {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.navbar-form .input-append, .navbar-form .input-prepend {
|
||||
margin-top: 6px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.navbar-form .input-append input, .navbar-form .input-prepend input {
|
||||
margin-top: 0;
|
||||
}
|
||||
.navbar-search {
|
||||
position: relative;
|
||||
float: left;
|
||||
|
@ -81,7 +81,7 @@
|
||||
margin-top: 5px; // make buttons vertically centered in navbar
|
||||
}
|
||||
.btn-group .btn {
|
||||
margin-top: 0;
|
||||
margin-top: 0; // then undo the margin here so we don't accidentally double it
|
||||
}
|
||||
}
|
||||
|
||||
@ -104,6 +104,14 @@
|
||||
input[type="radio"] {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.input-append,
|
||||
.input-prepend {
|
||||
margin-top: 6px;
|
||||
white-space: nowrap; // preven two items from separating within a .navbar-form that has .pull-left
|
||||
input {
|
||||
margin-top: 0; // remove the margin on top since it's on the parent
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Navbar search
|
||||
|
Loading…
Reference in New Issue
Block a user