Skip to content

Commit

Permalink
Fixes #15422: Alternate fix for temporal input sizing in input groups
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Dec 23, 2014
1 parent c4a23cc commit c41970c
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 16 deletions.
12 changes: 10 additions & 2 deletions dist/css/bootstrap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

22 changes: 10 additions & 12 deletions less/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -178,18 +178,16 @@ input[type="search"] {
input[type="datetime-local"],
input[type="month"] {
line-height: @input-height-base;
}
input[type="date"].input-sm,
input[type="time"].input-sm,
input[type="datetime-local"].input-sm,
input[type="month"].input-sm {
line-height: @input-height-small;
}
input[type="date"].input-lg,
input[type="time"].input-lg,
input[type="datetime-local"].input-lg,
input[type="month"].input-lg {
line-height: @input-height-large;

&.input-sm,
.input-group-sm & {
line-height: @input-height-small;
}

&.input-lg,
.input-group-lg & {
line-height: @input-height-large;
}
}
}

Expand Down

0 comments on commit c41970c

Please sign in to comment.