# Fix color swatch shrinking in the LSP completion menu \(\#27450\) · gitcafe/zed

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

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

Visibility: public

Requested revision: aab02a4166fd40a576ef52245fc399ab114c76c0

Requested commit: aab02a4166fd40a576ef52245fc399ab114c76c0

Commit: aab02a4166fd40a576ef52245fc399ab114c76c0

Tree: 6abe9798c2cebd731406d0bece5581d76d51dc99

Author: Danilo Leal

Committer: GitHub

## Message

```
Fix color swatch shrinking in the LSP completion menu (#27450)

### Before

Note how in the second time I try to add a color property, the color
swatch is shrunk.


https://github.com/user-attachments/assets/677a37b2-8ae4-408d-8dea-d9cc4bc2e119

### After


https://github.com/user-attachments/assets/aa902573-1f44-48e1-a396-e22ad5703155

Release Notes:

- Fixed color swatches shrinking upon re-adding a color-related
property.
```

## Parents

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

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