1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Fixes #14557: Reset the bottom margin on .form-group:last-child in .navbar-form to prevent extra spacing

This commit is contained in:
Mark Otto 2014-09-08 10:57:50 -07:00
parent 5578733238
commit c6d7d71549
4 changed files with 9 additions and 2 deletions

View file

@ -4123,6 +4123,9 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
.navbar-form .form-group {
margin-bottom: 5px;
}
.navbar-form .form-group:last-child {
margin-bottom: 0;
}
}
@media (min-width: 768px) {
.navbar-form {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -299,6 +299,10 @@
.form-group {
@media (max-width: @grid-float-breakpoint-max) {
margin-bottom: 5px;
&:last-child {
margin-bottom: 0;
}
}
}