This commit is contained in:
Anthony Stirling 2023-07-18 22:04:18 +01:00
parent 794aede27f
commit 7b83104fd6
2 changed files with 31 additions and 26 deletions

View file

@ -1,25 +1,29 @@
.list-group-item { .list-group-item {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.filename { .filename {
flex-grow: 1; flex-grow: 1;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
margin-right: 10px; margin-right: 10px;
} }
.arrows { .arrows {
flex-shrink: 0; flex-shrink: 0;
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
} }
.arrows .btn {
.move-up span, margin: 0 3px;
.move-down span { }
font-weight: bold;
font-size: 1.2em; .move-up span,
} .move-down span {
font-weight: bold;
font-size: 1.2em;
}

View file

@ -53,7 +53,8 @@ document.addEventListener('DOMContentLoaded', function() {
// Reset drag counter // Reset drag counter
dragCounter = 0; dragCounter = 0;
handleFileInputChange(fileInput); //handleFileInputChange(fileInput);
fileInput.dispatchEvent(new Event('change', { bubbles: true }));
}; };
// Prevent default behavior for drag events // Prevent default behavior for drag events