From ecf6b72b21d4829ac72f12007339b3f0bc20da8e Mon Sep 17 00:00:00 2001 From: MK Fain Date: Wed, 3 Dec 2025 20:49:37 -0600 Subject: [PATCH] Fix close button z-index on FloatingChatButton Moved close button to render after main button so it appears on top and is clickable in the overlapping area --- src/components/FloatingChatButton.tsx | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/components/FloatingChatButton.tsx b/src/components/FloatingChatButton.tsx index cd1f63b1..90c58007 100644 --- a/src/components/FloatingChatButton.tsx +++ b/src/components/FloatingChatButton.tsx @@ -44,21 +44,6 @@ export function FloatingChatButton() { onMouseEnter={() => setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} > - {/* Close button - appears on hover */} - - {/* Main chat button */} + + {/* Close button - appears on hover, rendered last to be on top */} + ); }