Update leenooks/laravel and now using @js @css shortcuts
This commit is contained in:
11
public/css/fixes.css
vendored
11
public/css/fixes.css
vendored
@@ -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;
|
||||
}
|
||||
|
@@ -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();
|
||||
}
|
||||
});
|
@@ -1,3 +0,0 @@
|
||||
.select2-selection.select2-selection--single {
|
||||
height: calc(2.25rem + 2px) !important;
|
||||
}
|
Reference in New Issue
Block a user