From 96acd7a3075e44f3d75b27dfe04113bdf0b9e40d Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Thu, 26 Sep 2024 00:25:05 -0700 Subject: [PATCH] LLMAttachmentButton: reduce ellipses --- .../components/composer/llmattachments/LLMAttachmentButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/chat/components/composer/llmattachments/LLMAttachmentButton.tsx b/src/apps/chat/components/composer/llmattachments/LLMAttachmentButton.tsx index e2f42f6c1..1ae4034be 100644 --- a/src/apps/chat/components/composer/llmattachments/LLMAttachmentButton.tsx +++ b/src/apps/chat/components/composer/llmattachments/LLMAttachmentButton.tsx @@ -164,7 +164,7 @@ function attachmentLabelText(attachmentDraft: AttachmentDraft): string { if (converter.id === 'rich-text') return 'Rich HTML'; } - return ellipsizeFront(attachmentDraft.label, 24); + return ellipsizeFront(attachmentDraft.label, 22); }