fix(coach): scroll the Coach with the same scrollbar as every other surface

This commit is contained in:
Marc-André Bombeck committed 2026-10-09 08:22:41 +02:00
1 parent 950395da42
commit 6ff24cf2cf
5 files changed
-33

No files matched your search

-2
View File
@@ -17,7 +17,6 @@ import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { PageHeader } from "@/components/ui/page-header";
import { QueryErrorCard } from "@/components/ui/query-error-card";
import { COACH_SCROLLBAR } from "@/components/insights/coach-panel/message-thread";
import { ConversationRename } from "@/components/insights/coach-panel/conversation-rename";
import { ConversationTranscript } from "@/components/insights/coach-panel/conversation-transcript";
import {
@@ -170,7 +169,6 @@ function CoachConversationsBody({ readOnly }: { readOnly: boolean }) {
data-slot="coach-conversations-list"
className={cn(
"-mx-1 flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto px-1",
COACH_SCROLLBAR,
)}
>
{isLoading && visible.length === 0 ? (
-2
View File
@@ -17,7 +17,6 @@ import { PageHeader } from "@/components/ui/page-header";
import { QueryErrorCard } from "@/components/ui/query-error-card";
import { EmptyState } from "@/components/ui/empty-state";
import { Skeleton } from "@/components/ui/skeleton";
import { COACH_SCROLLBAR } from "@/components/insights/coach-panel/message-thread";
import {
useCoachPlans,
useCoachPlanMutations,
@@ -238,7 +237,6 @@ function CoachPlansBody({ readOnly }: { readOnly: boolean }) {
data-slot="coach-plans-list"
className={cn(
"-mx-1 flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto px-1",
COACH_SCROLLBAR,
)}
>
{query.isError ? (