From 0c467e7b29e2dd601e51b2af161c0546a79d432c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 9 Oct 2016 18:04:30 -0700 Subject: [PATCH] Match the height of select.form-control with input.form-control Uses a local variable and some calc love to counteract the border-width (times 2) from the height of the select. Fixes #17194 and nullifies #19967. --- scss/_forms.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scss/_forms.scss b/scss/_forms.scss index d27b646d0667..be19a079566b 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -66,7 +66,8 @@ select.form-control { &:not([size]):not([multiple]) { - height: $input-height; + $select-border-width: ($border-width * 2); + height: calc(#{$input-height} - #{$select-border-width}); } &:focus::-ms-value {