File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 <p id =" tt-status" class =" text-[10px] font-mono mt-1.5 flex items-center gap-1.5" ></p >
1414 </div >
1515 <!-- Chat panel -->
16- <div id =" chat-panel" class =" absolute right-0 top-0 bottom-0 w-[280px] bg-[#0c0c10]/95 backdrop-blur-xl border-l border-indigo-500/15 flex flex -col z-40 transition-transform duration-300 " style =" border-radius: 0 0.75rem 0.75rem 0; transform: translateX(100%) " >
16+ <div id =" chat-panel" class =" absolute right-0 top-0 bottom-0 w-[280px] bg-[#0c0c10]/95 backdrop-blur-xl border-l border-indigo-500/15 flex-col z-40" style =" border-radius: 0 0.75rem 0.75rem 0; display: none; " >
1717 <div class =" flex items-center justify-between px-3 py-2.5 border-b border-zinc-800/50" >
1818 <div class =" flex items-center gap-2" >
1919 <span id =" chat-dot" class =" w-2 h-2 rounded-full bg-indigo-400" ></span >
171171 function openChat(idx: number) {
172172 chatNodeIdx = idx;
173173 chatOpen = true;
174- chatPanel.style.transform = 'translateX(0) ';
174+ chatPanel.style.display = 'flex ';
175175 const info = nodeInfo[idx];
176176 chatTitle.textContent = info.name;
177177 chatDot.style.backgroundColor = info.statusColor;
196196
197197 function closeChat() {
198198 chatOpen = false;
199- chatPanel.style.transform = 'translateX(100%) ';
199+ chatPanel.style.display = 'none ';
200200 chatNodeIdx = -1;
201201 if (chatAbort) { chatAbort.abort(); chatAbort = null; }
202202 }
You can’t perform that action at this time.
0 commit comments