Skip to content

Improvement: the chat composer takes a third of a laptop screen and cannot be made smaller #5035

Closed

Description

@yannickmonney

Summary

On a laptop without an external monitor, the chat composer covers about a third of the window: the field, its toolbar and the notice under it. There is no way to make it smaller. A pilot reported this as "the input field is very large; without an extra screen it covers 1/3 of the window, and I found no way to shrink it".

Why

Observed at main a71d0d92e9.

  • THREAD_COMPOSER_FIELD_CLASS is min-h-[72px] sm:min-h-[100px] short-viewport:min-h-12 (packages/ui/src/components/thread/layout.ts:42-43).
  • short-viewport applies only at max-height: 30rem (packages/ui/src/globals.css:37).
  • A 1080p laptop at 125–150 % display scaling leaves roughly 600–750 CSS px for the page, so it gets the full 100 px field, plus the toolbar and the two-line notice below the composer.

Proposed

  • Start the empty field at one or two lines and grow it with its content up to a cap (for example 40 % of the viewport), then scroll inside it.
  • Apply the compact sizes below about 800 px of viewport height, not only below 480 px.
  • On short viewports, keep the notice under the composer to one line, or move it behind an info button.
  • Optionally, add a resize handle or a way to collapse the composer.

Done when

  • At 1280×720 and 1366×768, the composer with an empty field is clearly smaller than today (target: at most about 15 % of the viewport height). The PR includes screenshots at three viewport sizes.
  • Long drafts still grow up to the cap and scroll, on desktop and on phones.
  • Visual and browser tests are updated.

Scope for parallel work

This touches packages/ui/src/components/thread/layout.ts and the composer's layout and footer. The dictation issue (#5034) touches the same component's submit logic only.

Activity

  1. added
    priority: low
    improvement
    service: platform
    on Oct 23, 2026
  2. added
    agent-ready
    on Oct 29, 2026
  3. added a commit that references this issue on Oct 30, 2026
    d9e944b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyimprovementpriority: lowservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions