From 48c45992a80ff8ad517df3f3892fd90ce92bb9b0 Mon Sep 17 00:00:00 2001 From: Gijs Boddeus Date: Sun, 31 Dec 2017 15:38:29 +0100 Subject: [PATCH] Textarea support for input groups The append and prepend classes vertically aligned items in the center For textareas this meant the addon would aling vertically instead of stretch and have it's contents vertically aligned these changes fix that so everything is aligned how it should be --- scss/_input-group.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scss/_input-group.scss b/scss/_input-group.scss index df950fb5cb..134b62d4e6 100644 --- a/scss/_input-group.scss +++ b/scss/_input-group.scss @@ -60,7 +60,6 @@ .input-group-prepend, .input-group-append { display: flex; - align-items: center; // Ensure buttons are always above inputs for more visually pleasing borders. // This isn't needed for `.input-group-text` since it shares the same border-color @@ -88,6 +87,8 @@ // to prepend or append to an input. .input-group-text { + display: flex; + align-items: center; padding: $input-padding-y $input-padding-x; margin-bottom: 0; // Allow use of