From ba5cb34bed14358c7974a7f5c4413731aeee10df Mon Sep 17 00:00:00 2001 From: dotta Date: Wed, 8 Apr 2026 09:51:45 -0500 Subject: [PATCH] Tighten issue chat composer height cap --- ui/src/components/IssueChatThread.test.tsx | 2 +- ui/src/components/IssueChatThread.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/components/IssueChatThread.test.tsx b/ui/src/components/IssueChatThread.test.tsx index aa6267e6..bc5a9903 100644 --- a/ui/src/components/IssueChatThread.test.tsx +++ b/ui/src/components/IssueChatThread.test.tsx @@ -282,7 +282,7 @@ describe("IssueChatThread", () => { expect(composer?.className).toContain("pb-[calc(env(safe-area-inset-bottom)+0.75rem)]"); const editor = container.querySelector('textarea[aria-label="Issue chat editor"]') as HTMLTextAreaElement | null; - expect(editor?.dataset.contentClassName).toContain("max-h-[40dvh]"); + expect(editor?.dataset.contentClassName).toContain("max-h-[28dvh]"); expect(editor?.dataset.contentClassName).toContain("overflow-y-auto"); act(() => { diff --git a/ui/src/components/IssueChatThread.tsx b/ui/src/components/IssueChatThread.tsx index 105762a8..65fcf09c 100644 --- a/ui/src/components/IssueChatThread.tsx +++ b/ui/src/components/IssueChatThread.tsx @@ -1532,7 +1532,7 @@ const IssueChatComposer = forwardRef