mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
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
This commit is contained in:
parent
ae71e71fe1
commit
48c45992a8
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue