aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-01-15 16:03:13 -0800
committerMark Otto <[email protected]>2015-01-15 16:03:13 -0800
commitdbffb0b47f573097ec2a0500720accb6aeeab72e (patch)
treec0fb1f22db6fa41d17ad603ab3b7d922cc8cc7f1 /less
parentec2ccf4219bafa18d3a83b5daa70680e73423a51 (diff)
downloadbootstrap-dbffb0b47f573097ec2a0500720accb6aeeab72e.tar.xz
bootstrap-dbffb0b47f573097ec2a0500720accb6aeeab72e.zip
Fixes #15536, #15559: Add .form-group sizing support to .form-control-static
Diffstat (limited to 'less')
-rw-r--r--less/forms.less12
1 files changed, 12 insertions, 0 deletions
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;
+ }
}