feat(frontend): add remove button to pending and submitted file cards

Lets users drop an uploaded file from the UI list before or after
conversion, without cancelling anything server-side.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-31 16:47:18 +02:00
co-authored by Claude Sonnet 5
parent 987af80286
commit a7a91a7a2e
6 changed files with 60 additions and 4 deletions
+22
View File
@@ -215,6 +215,28 @@
white-space: nowrap;
}
.file-remove-button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
flex-shrink: 0;
border: none;
border-radius: 8px;
background: transparent;
color: var(--color-foreground);
opacity: 0.5;
cursor: pointer;
transition: opacity 150ms ease, background 150ms ease, color 150ms ease;
}
.file-remove-button:hover {
opacity: 1;
color: var(--color-destructive);
background: color-mix(in srgb, var(--color-destructive) 12%, transparent);
}
.file-config-controls {
display: flex;
flex-direction: column;