From 2d3815ec336eda35acbac47928958e2e55f66804 Mon Sep 17 00:00:00 2001 From: Shantur Rathore Date: Tue, 28 Oct 2025 19:43:24 +0000 Subject: [PATCH] refactor: restyle prompt input via tokens --- src/components/prompt-input.tsx | 10 +-- src/index.css | 109 -------------------------------- src/styles/components.css | 101 +++++++++++++++++++++++++++++ 3 files changed, 106 insertions(+), 114 deletions(-) diff --git a/src/components/prompt-input.tsx b/src/components/prompt-input.tsx index 240efbc5..e68ce934 100644 --- a/src/components/prompt-input.tsx +++ b/src/components/prompt-input.tsx @@ -638,12 +638,12 @@ export default function PromptInput(props: PromptInputProps) {
0}> -
+
{(attachment) => { const isImage = attachment.mediaType.startsWith("image/") return ( -
+
{attachment.source.type === "text" ? attachment.display : attachment.filename}