From dbffb0b47f573097ec2a0500720accb6aeeab72e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 15 Jan 2015 16:03:13 -0800 Subject: Fixes #15536, #15559: Add .form-group sizing support to .form-control-static --- less/forms.less | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'less') diff --git a/less/forms.less b/less/forms.less index bf15cc8a9..c45d6bdff 100644 --- a/less/forms.less +++ b/less/forms.less @@ -318,6 +318,12 @@ input[type="checkbox"] { .form-control { .input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @input-border-radius-small); } + .form-control-static { + height: @input-height-small; + padding: @padding-small-vertical @padding-small-horizontal; + font-size: @font-size-small; + line-height: @line-height-small; + } } .input-lg { @@ -327,6 +333,12 @@ input[type="checkbox"] { .form-control { .input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @input-border-radius-large); } + .form-control-static { + height: @input-height-large; + padding: @padding-large-vertical @padding-large-horizontal; + font-size: @font-size-large; + line-height: @line-height-large; + } } -- cgit v1.2.3