corrected select2 paddings to change look similar to form-control/custom-form select

pull/2269/head
REJack 2019-10-31 12:59:46 +01:00
parent 4d13072001
commit ec0cf8a197
No known key found for this signature in database
GPG Key ID: 9F3976CC630CC888
5 changed files with 10 additions and 8 deletions

View File

@ -16,7 +16,7 @@
.select2-selection--single {
border: $input-border-width solid $input-border-color;
//border-radius: $input-radius;
padding: ($input-padding-y * 1.25) $input-padding-y;
padding: ($input-padding-y * 1.25) $input-padding-x;
height: $input-height;
}
@ -122,11 +122,12 @@
}
.select2-selection__rendered {
padding: 0 $input-padding-y ($input-padding-y * .75);
margin-bottom: -$input-padding-x/2;
padding: 0 $input-padding-x / 2 $input-padding-y;
margin-bottom: -$input-padding-x / 2;
li:first-child.select2-search.select2-search--inline {
width: 100%;
margin-left: $input-padding-x / 2;
.select2-search__field {
width: 100% !important;

View File

@ -19842,7 +19842,7 @@ html.maximized-card {
.select2-container--default .select2-selection--single {
border: 1px solid #ced4da;
padding: 0.46875rem 0.375rem;
padding: 0.46875rem 0.75rem;
height: calc(2.25rem + 2px);
}
@ -19933,12 +19933,13 @@ html.maximized-card {
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
padding: 0 0.375rem 0.28125rem;
padding: 0 0.375rem 0.375rem;
margin-bottom: -0.375rem;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered li:first-child.select2-search.select2-search--inline {
width: 100%;
margin-left: 0.375rem;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered li:first-child.select2-search.select2-search--inline .select2-search__field {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long