From bff66a760b6122f00ff08c18ab68bdfba1b759c2 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Sun, 15 Sep 2024 14:52:30 -0400 Subject: [PATCH] Change input icon button style --- webview-ui/src/components/ChatView.tsx | 45 +++++++++++++---------- webview-ui/src/components/HistoryView.tsx | 14 ++----- webview-ui/src/index.css | 17 +++++++++ 3 files changed, 45 insertions(+), 31 deletions(-) diff --git a/webview-ui/src/components/ChatView.tsx b/webview-ui/src/components/ChatView.tsx index a50eb36..c8e5ad0 100644 --- a/webview-ui/src/components/ChatView.tsx +++ b/webview-ui/src/components/ChatView.tsx @@ -659,7 +659,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie // borderLeft: "9px solid transparent", // NOTE: react-textarea-autosize doesn't calculate correct height when using borderLeft/borderRight so we need to use horizontal padding instead // Instead of using boxShadow, we use a div with a border to better replicate the behavior when the textarea is focused // boxShadow: "0px 0px 0px 1px var(--vscode-input-border)", - padding: "0 54px 0 9px", + padding: "0 49px 0 9px", cursor: textAreaDisabled ? "not-allowed" : undefined, flex: 1, }} @@ -681,30 +681,35 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie