mirror of https://github.com/ColorlibHQ/AdminLTE
corrected select2 paddings to change look similar to form-control/custom-form select
parent
4d13072001
commit
ec0cf8a197
|
@ -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;
|
||||
|
|
|
@ -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
Loading…
Reference in New Issue