feat(webchat): support image attachments

This commit is contained in:
William Valentin
2026-02-13 15:03:48 -08:00
parent 955b9e28e0
commit cc54b3a10c
7 changed files with 707 additions and 31 deletions
+42
View File
@@ -950,6 +950,48 @@ tr:hover td {
align-items: center;
gap: 8px;
padding: 8px 0;
flex-wrap: wrap;
}
.chat-attachments {
display: inline-flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
}
.attachment-chip {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 4px 10px;
border-radius: 999px;
background: var(--bg-secondary);
border: 1px solid var(--border);
color: var(--text-secondary);
font-size: var(--font-size-sm);
}
.attachment-name {
max-width: 220px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.attachment-remove {
appearance: none;
border: 0;
background: transparent;
color: var(--text-muted);
cursor: pointer;
font-size: 16px;
line-height: 1;
padding: 0;
}
.attachment-remove:hover {
color: var(--text-primary);
}
.btn-action {