1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-03 06:12:53 +02:00

Fix floating ui

This commit is contained in:
Kamran Ahmed
2025-06-10 17:14:57 +01:00
parent a48b8c6acf
commit c4043cc77a

View File

@@ -346,7 +346,7 @@ export function RoadmapFloatingChat(props: RoadmapChatProps) {
<RoadmapAIChatCard
role="assistant"
jsx={
<span>
<span className="mt-[2px]">
Hey, I am your AI tutor. How can I help you today? 👋
</span>
}
@@ -513,7 +513,10 @@ export function RoadmapFloatingChat(props: RoadmapChatProps) {
)}
onClick={() => {
setIsOpen(true);
setTimeout(() => scrollToBottom('instant'), 0);
setTimeout(() => {
scrollToBottom('instant');
setShowScrollToBottom(false);
}, 0);
}}
>
{!hasMessages ? (