# Prevent diagnostics from overflowing the status bar \(\#4145\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9993418f58b1885652d45b33da14c964387060d0

Requested commit: 9993418f58b1885652d45b33da14c964387060d0

Commit: 9993418f58b1885652d45b33da14c964387060d0

Tree: 39577407f7562004ea9ea92a9ee7a76ffdd86ee3

Author: Marshall Bowers

Committer: GitHub

## Message

```
Prevent diagnostics from overflowing the status bar (#4145)

This PR makes it so long diagnostic messages no longer overflow the
status bar and push the right tools off-screen.

Here is an example with a long (placeholder) diagnostic message:

<img width="1136" alt="Screenshot 2024-01-18 at 9 47 07 PM"
src="https://github.com/zed-industries/zed/assets/1486634/18568527-c608-4d4a-9118-b84c6d81c13e">

Release Notes:

- Fixed long diagnostic messages overflowing the status bar.
```

## Parents

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

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