diff --git a/src/components/insights/coach-panel/coach-drawer.tsx b/src/components/insights/coach-panel/coach-drawer.tsx index d3f7afa72..332f49032 100644 --- a/src/components/insights/coach-panel/coach-drawer.tsx +++ b/src/components/insights/coach-panel/coach-drawer.tsx @@ -2,7 +2,7 @@ import { useCallback, useState } from "react"; import type { Dispatch, SetStateAction } from "react"; -import { Plus, Settings, Sparkles } from "lucide-react"; +import { Plus, Settings, Sparkles, X } from "lucide-react"; import { Button } from "@/components/ui/button"; import { @@ -14,6 +14,7 @@ import { } from "@/components/ui/select"; import { Sheet, + SheetClose, SheetContent, SheetDescription, SheetHeader, @@ -255,7 +256,13 @@ export function CoachDrawer({ {/* Header (full width). Avatar + title + new-chat button + - settings cog (v1.4.23 H4 — real per-user prompt-tuning - surface, replacing the v1.4.22 B5 dead-button cleanup). - pr-12 keeps the buttons clear of the Sheet's close-X on - narrower viewports. */} + settings cog + close X. v1.4.25 W5 — the three header + actions (new chat, settings, close) all use the same + `ghost / size-icon / size-9` shape so they share a single + visual cluster instead of feeling like three different + controls. The close X used to be the Sheet's absolutely + positioned default; bringing it inline normalises the row + and frees the `pr-*` reservation. */}