Missed addition of 2 new js files in 7c536920
This commit is contained in:
parent
1a92d89911
commit
cc49692545
8
public/theme/backend/adminlte/select2/fix-autofocus.js
vendored
Normal file
8
public/theme/backend/adminlte/select2/fix-autofocus.js
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
$(document).on('select2:open',(event) => {
|
||||
const searchField = document.querySelector(
|
||||
`.select2-search__field[aria-controls="select2-${event.target.getAttribute('data-select2-id')}-results"]`,
|
||||
);
|
||||
if (searchField) {
|
||||
searchField.focus();
|
||||
}
|
||||
});
|
3
public/theme/backend/adminlte/select2/fix-select-height.css
vendored
Normal file
3
public/theme/backend/adminlte/select2/fix-select-height.css
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.select2-selection.select2-selection--single {
|
||||
height: calc(2.25rem + 2px) !important;
|
||||
}
|
Loading…
Reference in New Issue
Block a user