From f426a67394010b5cc0235c845b744e2711f81e59 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 15 Jul 2018 14:00:23 -0700 Subject: [PATCH] Form control heights (#26820) * Redo input height on .form-control - Use the already present -height variables on .form-control - Consolidate the select size and multiple overrides into the .form-control base class instead of sm/lg modifiers - Remove the Sass extends from input groups since it picks up too many selectors * Prevent height on textareas --- scss/_forms.scss | 28 +++++++++++++--------------- scss/_input-group.scss | 12 ++++++++++-- 2 files changed, 23 insertions(+), 17 deletions(-) diff --git a/scss/_forms.scss b/scss/_forms.scss index c079bd5c4f..5530630ed6 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -7,6 +7,7 @@ .form-control { display: block; width: 100%; + height: $input-height; padding: $input-padding-y $input-padding-x; font-size: $font-size-base; line-height: $input-line-height; @@ -57,10 +58,6 @@ } select.form-control { - &:not([size]):not([multiple]) { - height: $input-height; - } - &:focus::-ms-value { // Suppress the nested default white text on blue background highlight given to // the selected option text when the (still closed)