# agent_ui: Improve UI for subagent calls \(\#47299\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1b0771eb9c54f9c034145a33e69109d3f7e5f74c

Requested commit: 1b0771eb9c54f9c034145a33e69109d3f7e5f74c

Commit: 1b0771eb9c54f9c034145a33e69109d3f7e5f74c

Tree: 4a1dd7e083b28da759f3917d3e0091dd0df7432b

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Improve UI for subagent calls (#47299)

- Improves spacing between consecutive calls
- Only show disclosure button (i.e., ability to expand the card) when
there's actual content
- Fix font size being bigger than the actual thread
- Add gradient overlay to communicate that you can't scroll within the
card (expanding the subagent call will allow that in the near future)

Here's the result of it all, roughly:

<img width="600" height="890" alt="Screenshot 2026-01-21 at 12  26@2x"
src="https://github.com/user-attachments/assets/e5e4a544-611d-48f5-b00d-f69e869726c5"
/>

Release Notes:

- N/A
```

## Parents

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

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