# Use available width for the labels in the debug modal \(\#56510\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 917c6984834a2b6c08fd169520393b5187e33dda

Requested commit: 917c6984834a2b6c08fd169520393b5187e33dda

Commit: 917c6984834a2b6c08fd169520393b5187e33dda

Tree: 7cbf1209fbf5ff8f0d42082db4a71486be3a038e

Author: Alejandro Fernández Gómez

Committer: GitHub

## Message

```
Use available width for the labels in the debug modal (#56510)

AI disclosure: the PR has been made with claude code assistance

Before:
<img width="681" height="307" alt="Screenshot 2026-05-12 at 10 06 02"
src="https://github.com/user-attachments/assets/8ea24d32-345c-402f-ba4c-b29c80d97d3c"
/>

After:
<img width="678" height="312" alt="Screenshot 2026-05-12 at 10 05 46"
src="https://github.com/user-attachments/assets/1b3c42dc-a66b-46d0-a156-ff76769b7bb8"
/>

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 #56505

Release Notes:

- Fixed eagerly truncated labels in the Debug modal.
```

## Parents

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

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