From b6e616a70f71151192f5df76ac47050e94f3a6d4 Mon Sep 17 00:00:00 2001 From: ysds Date: Thu, 22 Nov 2018 17:29:33 +0900 Subject: [PATCH] Fixed a fixed height issue of input-group size option (#27687) --- scss/_input-group.scss | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/scss/_input-group.scss b/scss/_input-group.scss index c591954451..6fb8c429b4 100644 --- a/scss/_input-group.scss +++ b/scss/_input-group.scss @@ -127,26 +127,34 @@ // Remix the default form control sizing classes into new ones for easier // manipulation. +.input-group-lg > .form-control:not(textarea), +.input-group-lg > .custom-select { + height: $input-height-lg; +} + .input-group-lg > .form-control, .input-group-lg > .custom-select, .input-group-lg > .input-group-prepend > .input-group-text, .input-group-lg > .input-group-append > .input-group-text, .input-group-lg > .input-group-prepend > .btn, .input-group-lg > .input-group-append > .btn { - height: $input-height-lg; padding: $input-padding-y-lg $input-padding-x-lg; font-size: $input-font-size-lg; line-height: $input-line-height-lg; @include border-radius($input-border-radius-lg); } +.input-group-sm > .form-control:not(textarea), +.input-group-sm > .custom-select { + height: $input-height-sm; +} + .input-group-sm > .form-control, .input-group-sm > .custom-select, .input-group-sm > .input-group-prepend > .input-group-text, .input-group-sm > .input-group-append > .input-group-text, .input-group-sm > .input-group-prepend > .btn, .input-group-sm > .input-group-append > .btn { - height: $input-height-sm; padding: $input-padding-y-sm $input-padding-x-sm; font-size: $input-font-size-sm; line-height: $input-line-height-sm;