1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Split up .form-control & .form-select selectors

This commit is contained in:
Martijn Cuppens 2019-08-17 13:48:48 +02:00
parent 329448ecb7
commit 94521206e5

View file

@ -123,11 +123,14 @@
// Remix the default form control sizing classes into new ones for easier // Remix the default form control sizing classes into new ones for easier
// manipulation. // manipulation.
.input-group-lg > .form-control:not(textarea), .input-group-lg > .form-control {
.input-group-lg > .form-select {
min-height: $input-height-lg; min-height: $input-height-lg;
} }
.input-group-lg > .form-select {
height: $input-height-lg;
}
.input-group-lg > .form-control, .input-group-lg > .form-control,
.input-group-lg > .form-select, .input-group-lg > .form-select,
.input-group-lg > .input-group-prepend > .input-group-text, .input-group-lg > .input-group-prepend > .input-group-text,
@ -140,11 +143,14 @@
@include border-radius($input-border-radius-lg); @include border-radius($input-border-radius-lg);
} }
.input-group-sm > .form-control:not(textarea), .input-group-sm > .form-control {
.input-group-sm > .form-select {
min-height: $input-height-sm; min-height: $input-height-sm;
} }
.input-group-sm > .form-select {
height: $input-height-sm;
}
.input-group-sm > .form-control, .input-group-sm > .form-control,
.input-group-sm > .form-select, .input-group-sm > .form-select,
.input-group-sm > .input-group-prepend > .input-group-text, .input-group-sm > .input-group-prepend > .input-group-text,