Browse Source

Minor fixes

Saoud Rizwan 1 year ago
parent
commit
974222b75e

+ 1 - 1
webview-ui/src/components/ChatTextArea.tsx

@@ -540,7 +540,7 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
 						display: "flex",
 						alignItems: "flex-center",
 						height: textAreaBaseHeight || 31,
-						bottom: 9, // should be 10 but doesnt look good on mac
+						bottom: 9.5, // should be 10 but doesnt look good on mac
 						zIndex: 2,
 					}}>
 					<div style={{ display: "flex", flexDirection: "row", alignItems: "center" }}>

+ 1 - 1
webview-ui/src/components/ChatView.tsx

@@ -413,7 +413,7 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
 	}, [visibleMessages, didScrollFromApiReqTs])
 
 	const placeholderText = useMemo(() => {
-		const text = task ? "Type a message..." : "Type your task here..."
+		const text = task ? "Type a message (@ to add context)..." : "Type your task here (@ to add context)..."
 		return text
 	}, [task])