diff --git a/src/app/coach/page.tsx b/src/app/coach/page.tsx index 77e3efe36..23363d12e 100644 --- a/src/app/coach/page.tsx +++ b/src/app/coach/page.tsx @@ -61,7 +61,14 @@ export default function CoachPage() { return (
{t("insights.coach.historyEmpty")}
@@ -128,8 +130,8 @@ export function HistoryRail({ data-slot="coach-history-item" data-active={isActive ? "true" : undefined} className={cn( - "group flex items-center gap-1.5 rounded-md px-2 py-1.5", - "text-xs transition-colors", + "group flex items-center gap-1.5 rounded-lg px-2.5 py-2", + "text-sm transition-colors", isActive ? "bg-dracula-purple/15 text-foreground" : "text-muted-foreground hover:bg-muted/40 hover:text-foreground", @@ -142,7 +144,7 @@ export function HistoryRail({ data-slot="coach-history-select" > {c.title} - + {formatRelativeTime(c.updatedAt, t)} diff --git a/src/components/insights/coach-panel/sources-rail.tsx b/src/components/insights/coach-panel/sources-rail.tsx index a7280373c..2720f07eb 100644 --- a/src/components/insights/coach-panel/sources-rail.tsx +++ b/src/components/insights/coach-panel/sources-rail.tsx @@ -105,7 +105,7 @@ export function SourcesRail({ className }: SourcesRailProps) { // column width: the switch rows used to push past the 280/320 px // container and paint a horizontal scrollbar under the rail. className={cn( - "flex h-full min-h-0 min-w-0 flex-col gap-3 overflow-x-hidden p-3", + "flex h-full min-h-0 min-w-0 flex-col gap-3 overflow-x-hidden p-3.5", className, )} > @@ -113,8 +113,10 @@ export function SourcesRail({ className }: SourcesRailProps) { data-slot="coach-sources-rail-heading" // No horizontal inset — the heading sits flush with the row // boxes below it (headings and their content share one left - // edge across the Coach surfaces). - className="text-muted-foreground flex items-center gap-1.5 text-[11px] font-medium tracking-wide uppercase" + // edge across the Coach surfaces). v1.18.1 (W-COACH-UI C1/C4) — + // typography matched to the history-rail heading so the two rails + // read as one family. + className="text-muted-foreground flex items-center gap-1.5 text-xs font-medium tracking-wide uppercase" > {t("insights.coach.sourcesTitle")} @@ -126,7 +128,7 @@ export function SourcesRail({ className }: SourcesRailProps) {