Skip to content

Commit

Permalink
Merge pull request #15728 from kkirsche/patch-11
Browse files Browse the repository at this point in the history
[Fix Issue #15719] Add a variable for .form-group's margin-bottom
  • Loading branch information
mdo committed Feb 9, 2015
2 parents 9e1e73f + 8a93743 commit 8ef21c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion less/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ input[type="search"] {
// horizontal forms, use the predefined grid classes.

.form-group {
margin-bottom: 15px;
margin-bottom: @form-group-margin-bottom;
}


Expand Down
3 changes: 3 additions & 0 deletions less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@
//** Small `.form-control` height
@input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);

//** `.form-group` margin
@form-group-margin-bottom: 15px;

@legend-color: @gray-dark;
@legend-border-color: #e5e5e5;

Expand Down

0 comments on commit 8ef21c7

Please sign in to comment.