From 9e589731f099a30ea96970a717d4ef26c49837ad Mon Sep 17 00:00:00 2001 From: Suryavir Kapur <52126281+suryavirkapur@users.noreply.github.com> Date: Tue, 19 Mar 2024 15:35:55 +0400 Subject: [PATCH] frontend: adds attach button (#55) --- frontend/src/components/ChatInterface.css | 6 +++++- frontend/src/components/ChatInterface.tsx | 16 ++++++++++++++++ frontend/src/components/CodeEditor.tsx | 1 + 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/ChatInterface.css b/frontend/src/components/ChatInterface.css index f4e6bd3133..f49b94a6e1 100644 --- a/frontend/src/components/ChatInterface.css +++ b/frontend/src/components/ChatInterface.css @@ -43,7 +43,7 @@ padding: 10px; border: none; border-radius: 5px; - margin-right: 10px; + margin: 0 10px; background-color: #3c3c3c; color: #fff; } @@ -59,4 +59,8 @@ .button-text { font-size: 16px; + } + + .input-container svg { + height: 16px; } \ No newline at end of file diff --git a/frontend/src/components/ChatInterface.tsx b/frontend/src/components/ChatInterface.tsx index 14294838eb..1ce806ff5b 100644 --- a/frontend/src/components/ChatInterface.tsx +++ b/frontend/src/components/ChatInterface.tsx @@ -56,6 +56,22 @@ function ChatInterface(): JSX.Element { ))}
+