# agent_ui: Add setting for turning off content max-width \(\#54316\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 10cf73f8cc961209a2f5a19d7c7a94291caba516

Requested commit: 10cf73f8cc961209a2f5a19d7c7a94291caba516

Commit: 10cf73f8cc961209a2f5a19d7c7a94291caba516

Tree: 3fc13436bb5a2cba550f431908d7f34d907c9d0f

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Add setting for turning off content max-width (#54316)

Follow up to https://github.com/zed-industries/zed/pull/52730. 

This PR adds a boolean setting `limit_content_width` in the Agent Panel
settings that allows turning off the content max-width entirely, which
was added for better readability. We had a handful of requests for it,
so it feels fair.

<img width="500" alt="Screenshot 2026-04-20 at 8  57@2x"
src="https://github.com/user-attachments/assets/d2540b35-3fa8-4424-895d-dc499ac4839c"
/>

Release Notes:

- Agent: Added a new `limit_content_width` setting in the agent panel
that allows turning off the content max-width limit.
```

## Parents

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

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