Files
qwen-code/packages/web-shell/client/components/FileAttachmentContent.module.css
T
ytahdnand钉萁 663e55bd29 feat(web-shell): refine file cards and configure drop destination (#11298)
* feat(web-shell): customize artifact icons

* fix(web-shell): preserve artifact icon fallbacks

* fix(web-shell): improve artifact fallbacks

* feat(web-shell): refine file cards and configure drop destination

* fix(web-shell): address file card and drop review feedback

---------

Co-authored-by: 钉萁 <[email protected]>
2026-09-08 02:56:51 +00:00

42 lines
662 B
CSS

.icon {
display: flex;
flex: 0 0 48px;
width: 48px;
height: 48px;
align-items: center;
justify-content: center;
border-radius: 12px;
background: var(--muted);
color: var(--muted-foreground);
}
.details {
display: flex;
flex: 1 1 auto;
min-width: 0;
flex-direction: column;
gap: 3px;
text-align: left;
font-family: var(--font-sans, system-ui, sans-serif);
}
.name,
.type {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.name {
color: var(--foreground);
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
.type {
color: var(--muted-foreground);
font-size: 12px;
line-height: 18px;
}