aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
Diffstat (limited to 'less')
-rw-r--r--less/forms.less2
-rw-r--r--less/variables.less2
2 files changed, 3 insertions, 1 deletions
diff --git a/less/forms.less b/less/forms.less
index aa8019cad..e0e6c98e2 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -149,6 +149,8 @@ output {
// Reset height for `textarea`s
textarea& {
height: auto;
+ padding-top: @padding-base-horizontal;
+ padding-bottom: @padding-base-horizontal;
}
}
diff --git a/less/variables.less b/less/variables.less
index e17246268..35d53910e 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -193,7 +193,7 @@
@input-color-placeholder: @gray-light;
//** Default `.form-control` height
-@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
+@input-height-base: ((@font-size-base * @line-height-base) + (@padding-base-vertical * 2) + .1);
//** Large `.form-control` height
@input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
//** Small `.form-control` height