Skip to content

Commit 48c4599

Browse files
authored
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
1 parent ae71e71 commit 48c4599

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scss/_input-group.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
.input-group-prepend,
6161
.input-group-append {
6262
display: flex;
63-
align-items: center;
6463

6564
// Ensure buttons are always above inputs for more visually pleasing borders.
6665
// This isn't needed for `.input-group-text` since it shares the same border-color
@@ -88,6 +87,8 @@
8887
// to prepend or append to an input.
8988

9089
.input-group-text {
90+
display: flex;
91+
align-items: center;
9192
padding: $input-padding-y $input-padding-x;
9293
margin-bottom: 0; // Allow use of <label> elements by overriding our default margin-bottom
9394
font-size: $font-size-base; // Match inputs

0 commit comments

Comments
 (0)