Skip to content

Tool call bodies scroll horizontally instead of wrapping #326

Closed

Description

@currentbits

Expanded tool calls in the agent pane sometimes show a horizontal scrollbar when the input/output has long lines. We don't do scrollbars in the thread view — long lines should wrap.

Cause: src/components/ThreadView.module.css:424 — .toolPre sets white-space: pre; overflow-x: auto;. It's used for both the tool input and output panes (src/components/ThreadView.tsx:349, :353).

Fix: wrap instead of scroll — white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: hidden; (unbroken tokens like long paths/URLs need anywhere, not just break-word).

Check the same rule doesn't reintroduce scrollbars elsewhere in the pane (ThreadView.module.css:658 already hides overflow-x).

Activity

  1. added
    bug
    plan:todo
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Aug 17, 2026
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

    bugplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions