diff options
| author | Gijs Boddeus <[email protected]> | 2017-12-31 15:38:29 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-12-31 15:38:29 +0100 |
| commit | 48c45992a80ff8ad517df3f3892fd90ce92bb9b0 (patch) | |
| tree | a07021e552769c7f7b52f09c5547be84e35ae351 | |
| parent | ae71e71fe1fa3bdbdec33c9eb19b76c346d4d5ff (diff) | |
| download | bootstrap-48c45992a80ff8ad517df3f3892fd90ce92bb9b0.tar.xz bootstrap-48c45992a80ff8ad517df3f3892fd90ce92bb9b0.zip | |
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
| -rw-r--r-- | scss/_input-group.scss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scss/_input-group.scss b/scss/_input-group.scss index df950fb5c..134b62d4e 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 <label> elements by overriding our default margin-bottom font-size: $font-size-base; // Match inputs |
