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
- - - - - - +
{ + if (!shouldDisableImages) { + selectImages() + } + }} + style={{ + marginRight: 5.5, + fontSize: 16.5, + }} + /> +
{ + if (!textAreaDisabled) { + handleSendMessage() + } + }} + style={{ fontSize: 15 }}>
diff --git a/webview-ui/src/components/HistoryView.tsx b/webview-ui/src/components/HistoryView.tsx index 993d413..f229e1a 100644 --- a/webview-ui/src/components/HistoryView.tsx +++ b/webview-ui/src/components/HistoryView.tsx @@ -114,13 +114,6 @@ const HistoryView = ({ onDone }: HistoryViewProps) => { background-color: var(--vscode-editor-findMatchHighlightBackground); color: inherit; } - .clear-search-button { - cursor: pointer; - opacity: 0.5; - } - .clear-search-button:hover { - opacity: 1; - } `}
{ style={{ fontSize: 13, marginTop: 2.5, opacity: 0.8 }}>
{searchQuery && (
setSearchQuery("")} slot="end" @@ -173,9 +166,8 @@ const HistoryView = ({ onDone }: HistoryViewProps) => { justifyContent: "center", alignItems: "center", height: "100%", - }}> - -
+ }} + /> )}