diff --git a/ui/src/components/IssueChatThread.test.tsx b/ui/src/components/IssueChatThread.test.tsx index bc5a9903..a4b6f9b2 100644 --- a/ui/src/components/IssueChatThread.test.tsx +++ b/ui/src/components/IssueChatThread.test.tsx @@ -257,7 +257,7 @@ describe("IssueChatThread", () => { }); }); - it("keeps the composer pinned with a capped editor height", () => { + it("keeps the composer inline with bottom breathing room and a capped editor height", () => { const root = createRoot(container); act(() => { @@ -277,9 +277,9 @@ describe("IssueChatThread", () => { const composer = container.querySelector('[data-testid="issue-chat-composer"]') as HTMLDivElement | null; expect(composer).not.toBeNull(); - expect(composer?.className).toContain("sticky"); - expect(composer?.className).toContain("bottom-0"); - expect(composer?.className).toContain("pb-[calc(env(safe-area-inset-bottom)+0.75rem)]"); + expect(composer?.className).not.toContain("sticky"); + expect(composer?.className).not.toContain("bottom-0"); + expect(composer?.className).toContain("pb-[calc(env(safe-area-inset-bottom)+1.5rem)]"); const editor = container.querySelector('textarea[aria-label="Issue chat editor"]') as HTMLTextAreaElement | null; expect(editor?.dataset.contentClassName).toContain("max-h-[28dvh]"); diff --git a/ui/src/components/IssueChatThread.tsx b/ui/src/components/IssueChatThread.tsx index 65fcf09c..cc0fb09c 100644 --- a/ui/src/components/IssueChatThread.tsx +++ b/ui/src/components/IssueChatThread.tsx @@ -1519,97 +1519,94 @@ const IssueChatComposer = forwardRef -
- + -
- {(onImageUpload || onAttachImage) ? ( -
- - -
- ) : null} - -
);