Skip to content

Commit

Permalink
Split up .form-control & .form-select selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnCuppens committed Aug 18, 2019
1 parent 0f2797d commit d6a3162
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions scss/forms/_input-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,14 @@
// Remix the default form control sizing classes into new ones for easier
// manipulation.

.input-group-lg > .form-control:not(textarea),
.input-group-lg > .form-select {
.input-group-lg > .form-control {
min-height: $input-height-lg;
}

.input-group-lg > .form-select {
height: $input-height-lg;
}

.input-group-lg > .form-control,
.input-group-lg > .form-select,
.input-group-lg > .input-group-prepend > .input-group-text,
Expand All @@ -140,11 +143,14 @@
@include border-radius($input-border-radius-lg);
}

.input-group-sm > .form-control:not(textarea),
.input-group-sm > .form-select {
.input-group-sm > .form-control {
min-height: $input-height-sm;
}

.input-group-sm > .form-select {
height: $input-height-sm;
}

.input-group-sm > .form-control,
.input-group-sm > .form-select,
.input-group-sm > .input-group-prepend > .input-group-text,
Expand Down

0 comments on commit d6a3162

Please sign in to comment.