# agent: Fix message editor's button positions when expanded \(\#30311\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4b61d4ba6ab9c3591a8ea9a105b3acd9fbfcd43d

Requested commit: 4b61d4ba6ab9c3591a8ea9a105b3acd9fbfcd43d

Commit: 4b61d4ba6ab9c3591a8ea9a105b3acd9fbfcd43d

Tree: 44f959915897f4db4eb17f66dc222f9c5ce40901

Author: Agus Zubiaga

Committer: GitHub

## Message

```
agent: Fix message editor's button positions when expanded (#30311)

Fixes an issue introduced by #29959 which caused the message editor to
overflow from the agent panel bounds, making the bottom buttons
invisible when the editor was expanded (cmd+esc).

Fixing this required changing the base structure of the agent panel, but
things seem to work as expected:


https://github.com/user-attachments/assets/fc4c97fb-f7cb-4f54-a268-c30fbcb1649f


Release Notes:

- agent: Fix message editor's button positions when expanded
```

## Parents

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

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