Skip to content

Commit a806464

Browse files
committed
Update ImageAttachmentsBar.tsx
1 parent 45aeca5 commit a806464

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apps/twig/src/renderer/features/message-editor/components/ImageAttachmentsBar.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { X } from "@phosphor-icons/react";
1+
import { File, X } from "@phosphor-icons/react";
22
import { Dialog, Flex, IconButton, Text } from "@radix-ui/themes";
33
import { trpcVanilla } from "@renderer/trpc/client";
44
import { useEffect, useState } from "react";
@@ -100,7 +100,8 @@ function FileChip({
100100
return (
101101
<div className="group relative flex-shrink-0">
102102
<span className="inline-flex items-center gap-1 rounded-[var(--radius-1)] bg-[var(--gray-a3)] p-1 font-medium text-[10px] text-[var(--gray-11)] leading-tight">
103-
<span className="max-w-[120px] truncate">@{attachment.label}</span>
103+
<File size={14} weight="duotone" className="shrink-0" />
104+
<span className="max-w-[120px] truncate">{attachment.label}</span>
104105
</span>
105106
<IconButton
106107
size="1"

0 commit comments

Comments
 (0)