Skip to content

Commit 5cc643a

Browse files
committed
Fix chatbot notification close button
1 parent 99b94f0 commit 5cc643a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

components/chat-widget.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,10 @@ export function ChatWidget() {
122122
e.stopPropagation();
123123
setShowNotification(false);
124124
}}
125-
className="absolute -top-2 -left-2 bg-zinc-900 border border-purple-500/50 rounded-full p-1 hover:bg-purple-500/20 text-purple-400 transition-colors shadow-sm"
125+
className="absolute -top-3 -left-3 z-50 bg-zinc-950 border border-purple-500/50 rounded-full p-1.5 hover:bg-purple-900/20 text-purple-400 transition-colors shadow-md cursor-pointer flex items-center justify-center group"
126+
aria-label="Close notification"
126127
>
127-
<X className="w-3 h-3" />
128+
<X className="w-3 h-3 group-hover:scale-110 transition-transform" />
128129
</button>
129130
</div>
130131
</motion.div>

0 commit comments

Comments
 (0)