diff options
| author | Mark Otto <[email protected]> | 2015-03-25 21:18:19 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-03-25 21:18:19 -0700 |
| commit | df8010b815b8cc4d2f5854b9ec05ca05143be29e (patch) | |
| tree | dfe4d2cff342e1bd19fd7a22e8c472751a68df64 /less/forms.less | |
| parent | b6508f5d0465853174e88d3dc7a24808cb1af56f (diff) | |
| download | bootstrap-df8010b815b8cc4d2f5854b9ec05ca05143be29e.tar.xz bootstrap-df8010b815b8cc4d2f5854b9ec05ca05143be29e.zip | |
Fixes #15074: Manually handle input sizing in form groups instead of using mixins because nesting
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; |
