Skip to content

Commit

Permalink
(less) Merge pull request twbs#8193 from mediafreakch/3.0.0-wip
Browse files Browse the repository at this point in the history
Fixes broken layout for .input-group-addons within .input-large. Follows...
  • Loading branch information
mdo committed Jun 20, 2013
2 parents 4f658f2 + 16a446c commit 10a0b1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ input[type="search"],
input[type="tel"],
input[type="color"] {
&.input-large {
min-height: @input-height-large;
padding: @padding-large-vertical @padding-large-horizontal;
font-size: @font-size-large;
border-radius: @border-radius-large;
Expand Down
4 changes: 2 additions & 2 deletions variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@
@input-color-placeholder: @gray-light;

@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
@input-height-large: (@line-height-computed + (@padding-large-vertical * 2) + 2);
@input-height-small: (@line-height-computed + (@padding-small-vertical * 2) + 2);
@input-height-large: (ceil(@font-size-large * @line-height-base) + (@padding-large-vertical * 2) + 2);
@input-height-small: (ceil(@font-size-small * @line-height-base) + (@padding-small-vertical * 2) + 2);


// Dropdowns
Expand Down

0 comments on commit 10a0b1a

Please sign in to comment.