# Prevent text from wrapping in code actions menu \(\#9178\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ceadb39c38753494867859afaaa323d79739f010

Requested commit: ceadb39c38753494867859afaaa323d79739f010

Commit: ceadb39c38753494867859afaaa323d79739f010

Tree: 076d2a47e44eb8beff0121abb6ad5065176bb63c

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Prevent text from wrapping in code actions menu (#9178)

Right now we're basing the width of the menu on the longest code action
title. That is only an approximation and doesn't always coincide
perfectly with the true, longest code action.

Given that it's pretty close, however, this commit simply disables text
wrapping on the code action menu.

Release Notes:

- Fixed a rendering glitch that could cause code actions to not display
correctly ([#8341](https://github.com/zed-industries/zed/issues/8341))
```

## Parents

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

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