Compare commits

...
Author SHA1 Message Date
Chris Tate d14d12abf4 fix missing close button on mobile 2026-02-11 14:53:47 -06:00
+18 -20
View File
@@ -342,27 +342,25 @@ export function DocsChat({
Clear Clear
</button> </button>
)} )}
{isDesktop && ( <button
<button onClick={() => setOpen(false)}
onClick={() => setOpen(false)} className="text-muted-foreground hover:text-foreground transition-colors"
className="text-muted-foreground hover:text-foreground transition-colors" aria-label="Close panel"
aria-label="Close panel" >
<svg
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
> >
<svg <line x1="18" y1="6" x2="6" y2="18" />
width="14" <line x1="6" y1="6" x2="18" y2="18" />
height="14" </svg>
viewBox="0 0 24 24" </button>
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
>
<line x1="18" y1="6" x2="6" y2="18" />
<line x1="6" y1="6" x2="18" y2="18" />
</svg>
</button>
)}
</div> </div>
</div> </div>