# Polish diff for the \`edit_file\` tool \(\#29911\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1adb4ecc95b5d5dfef71e33cbd9afd732d344041

Requested commit: 1adb4ecc95b5d5dfef71e33cbd9afd732d344041

Commit: 1adb4ecc95b5d5dfef71e33cbd9afd732d344041

Tree: b7634fa39ded3d37550cc4ae8efa08767e6b91de

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Polish diff for the `edit_file` tool (#29911)

I added some padding to the editor, and removed the border around each
hunk as it would overlap in weird ways with the card container.

## Before

<img width="1148" alt="image"
src="https://github.com/user-attachments/assets/2018feaa-c847-4609-bc82-522660714b9a"
/>

## After

One Light:

<img width="1148" alt="image"
src="https://github.com/user-attachments/assets/4da1a4b6-0af2-4479-afcc-02da50178fd6"
/>

One Dark:

<img width="1148" alt="image"
src="https://github.com/user-attachments/assets/0168631d-7b76-4582-8174-c6e9c1297dc8"
/>


Release Notes:

- Improved displaying of diffs when the agent edits files.
```

## Parents

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

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