# agent_ui: Set max-width for thread view content \(\#52730\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/0bde5094f695c9ddf4e5fa591712baab546d3b4b)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 0bde5094f695c9ddf4e5fa591712baab546d3b4b

Requested commit: 0bde5094f695c9ddf4e5fa591712baab546d3b4b

Commit: 0bde5094f695c9ddf4e5fa591712baab546d3b4b

Tree: a6684e7d5ae4c8efdd66d6b7f9bec9a881410677

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Set max-width for thread view content (#52730)

This PR adds a configurable max-width to the agent panel. This will be
particularly useful when opting into an agentic-first layout where the
thread will be at the center of the UI (with the panel most likely
full-screen'ed, which is why I'm also adding here the button to make it
full screen in the toolbar). The default max-width is 850, which is a
bit bigger than the one generally considered as a standard (~66
characters wide, which usually sums up to 750 pixels).

Release Notes:

- Agent: Added a max-width to the thread view for better readability,
particularly when the panel is zoomed in.
```

## Parents

- [eaf14d028a6c9cca193f725871116cd05a21c305](https://git.cafe/gitcafe/zed/commit/eaf14d028a6c9cca193f725871116cd05a21c305?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/0bde5094f695c9ddf4e5fa591712baab546d3b4b?format=markdown)
