Fix choices dropdown search order and z-index to show on top of shifts table

This commit is contained in:
Igor Scheller 2023-11-08 17:27:15 +01:00 committed by msquare
parent 36c7db40a7
commit 58c457be86
2 changed files with 6 additions and 0 deletions

View File

@ -238,6 +238,8 @@ ready(() => {
document.querySelectorAll('select').forEach((element) => {
element.choices = new Choices(element, {
allowHTML: true,
shouldSort: false,
shouldSortItems: false,
classNames: {
containerInner: 'choices__inner form-control',
},

View File

@ -20,6 +20,10 @@ $es-choices-highlight-color: $choices-text-color !default;
padding: $input-padding-y 1.75rem $input-padding-y $input-padding-x !important;
}
.#{$choices-selector} .#{$choices-selector}__list {
z-index: $zindex-sticky + 2;
}
.#{$choices-selector}__list--single {
padding: 0;
}