# agent_ui: Add padding to markdown output in card layout \(\#53194\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2aa1559080fe3fcb919415ef75fcccaf85eaa017

Requested commit: 2aa1559080fe3fcb919415ef75fcccaf85eaa017

Commit: 2aa1559080fe3fcb919415ef75fcccaf85eaa017

Tree: 97f1adb664b5825286bd7c30431674f16ae4851f

Author: Markos Narinian

Committer: GitHub

## Message

```
agent_ui: Add padding to markdown output in card layout (#53194)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #53191

Release Notes:

- Added padding to markdown output when rendered in card layout.

Before:
<img width="627" height="437" alt="Screenshot 2026-04-01 at 3 32"
src="https://github.com/user-attachments/assets/6fbd31f0-80b5-4c63-b9a4-d151bd28cf31"
/>

After:
<img width="666" height="400" alt="Screenshot 2026-04-05 at 4 47 38 PM"
src="https://github.com/user-attachments/assets/3128532a-bfcf-4308-aec5-3981201001ab"
/>
```

## Parents

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

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