diff options
| author | Mark Otto <[email protected]> | 2015-03-28 20:52:14 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-03-28 20:52:14 -0700 |
| commit | f025840eae65afb4c8721192c9f22d5b9f7b2530 (patch) | |
| tree | 60e9d74413a908774cd334e8b6543ea675134bed /less/forms.less | |
| parent | 6a6ac5db3386389344802a995b77f197dfc9c003 (diff) | |
| parent | 57c8e3cd51abcb4230d37863b40bcca564d033f4 (diff) | |
| download | bootstrap-f025840eae65afb4c8721192c9f22d5b9f7b2530.tar.xz bootstrap-f025840eae65afb4c8721192c9f22d5b9f7b2530.zip | |
Merge pull request #16159 from twbs/input_sizing
Fixes #15074
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/less/forms.less b/less/forms.less index e4b50629e..de1508d0c 100644 --- a/less/forms.less +++ b/less/forms.less @@ -322,7 +322,19 @@ input[type="checkbox"] { } .form-group-sm { .form-control { - .input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @input-border-radius-small); + height: @input-height-small; + padding: @padding-small-vertical @padding-small-horizontal; + font-size: @font-size-small; + line-height: @line-height-small; + border-radius: @input-border-radius-small; + } + select.form-control { + height: @input-height-small; + line-height: @input-height-small; + } + textarea.form-control, + select[multiple].form-control { + height: auto; } .form-control-static { height: @input-height-small; @@ -338,7 +350,19 @@ input[type="checkbox"] { } .form-group-lg { .form-control { - .input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @input-border-radius-large); + height: @input-height-large; + padding: @padding-large-vertical @padding-large-horizontal; + font-size: @font-size-large; + line-height: @line-height-large; + border-radius: @input-border-radius-large; + } + select.form-control { + height: @input-height-large; + line-height: @input-height-large; + } + textarea.form-control, + select[multiple].form-control { + height: auto; } .form-control-static { height: @input-height-large; |
