(
{!inputValue && (
+ style={{
+ bottom: "0.25rem",
+ color: "var(--vscode-tab-inactiveForeground)",
+ userSelect: "none",
+ pointerEvents: "none",
+ }}>
{placeholderBottomText}
)}
@@ -1147,6 +1152,7 @@ const ChatTextArea = forwardRef(
title={t("chat:addImages")}
disabled={shouldDisableImages}
onClick={onSelectImages}
+ className="mr-1"
/>
diff --git a/webview-ui/src/components/chat/ShareButton.tsx b/webview-ui/src/components/chat/ShareButton.tsx
index 7c90e72039..48bb32ccff 100644
--- a/webview-ui/src/components/chat/ShareButton.tsx
+++ b/webview-ui/src/components/chat/ShareButton.tsx
@@ -54,13 +54,6 @@ export const ShareButton = ({ item, disabled = false }: ShareButtonProps) => {
}
}, [cloudIsAuthenticated, sharingEnabled])
- // Cleanup effect to reset flag on unmount
- useEffect(() => {
- return () => {
- initiatedAuthFromThisButtonRef.current = false
- }
- }, [])
-
// Listen for share success messages from the extension
useEffect(() => {
const handleMessage = (event: MessageEvent) => {