Update leenooks/laravel and now using @js @css shortcuts

This commit is contained in:
Deon George
2021-12-20 14:08:00 +11:00
parent b7b6a575bc
commit 0aa7ff3b2c
30 changed files with 922 additions and 1778 deletions

11
public/css/fixes.css vendored
View File

@@ -79,3 +79,14 @@ table.dataTable thead .sorting {
.card-header h3.card-title {
font-size: 1.0rem;
}
/* Fix selected item is positioned correctly */
span.select2-selection.select2-selection--single > span.select2-selection__rendered {
margin-top: -9px;
margin-left: -9px;
}
/* Fix height when used with form-group */
.select2-selection.select2-selection--single {
height: calc(2.25rem + 2px) !important;
}

View File

@@ -1,8 +0,0 @@
$(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();
}
});

View File

@@ -1,3 +0,0 @@
.select2-selection.select2-selection--single {
height: calc(2.25rem + 2px) !important;
}