From 94521206e5d4452d268b606b91ad420c7c7abfd9 Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Sat, 17 Aug 2019 13:48:48 +0200 Subject: [PATCH] Split up `.form-control` & `.form-select` selectors --- scss/forms/_input-group.scss | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/scss/forms/_input-group.scss b/scss/forms/_input-group.scss index d2e7d91aaa..05eae6a49a 100644 --- a/scss/forms/_input-group.scss +++ b/scss/forms/_input-group.scss @@ -123,11 +123,14 @@ // Remix the default form control sizing classes into new ones for easier // manipulation. -.input-group-lg > .form-control:not(textarea), -.input-group-lg > .form-select { +.input-group-lg > .form-control { min-height: $input-height-lg; } +.input-group-lg > .form-select { + height: $input-height-lg; +} + .input-group-lg > .form-control, .input-group-lg > .form-select, .input-group-lg > .input-group-prepend > .input-group-text, @@ -140,11 +143,14 @@ @include border-radius($input-border-radius-lg); } -.input-group-sm > .form-control:not(textarea), -.input-group-sm > .form-select { +.input-group-sm > .form-control { min-height: $input-height-sm; } +.input-group-sm > .form-select { + height: $input-height-sm; +} + .input-group-sm > .form-control, .input-group-sm > .form-select, .input-group-sm > .input-group-prepend > .input-group-text,