# editor: Ensure placeholder text wraps properly after font size change \(\#37992\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d7f3d08c59344876613f0fed2f23575b5e1febb9

Requested commit: d7f3d08c59344876613f0fed2f23575b5e1febb9

Commit: d7f3d08c59344876613f0fed2f23575b5e1febb9

Tree: 6ae6ed29b6132fed281424de32f369ae8031fb78

Author: Finn Evers

Committer: GitHub

## Message

```
editor: Ensure placeholder text wraps properly after font size change (#37992)

Follow-up of https://github.com/zed-industries/zed/pull/37919

This fixes an issue where the placeholder text in editors would not wrap
properly in cases where the font size was changed.

Before:


https://github.com/user-attachments/assets/479c919f-5815-4164-b46d-75f31b5dc56f

After:


https://github.com/user-attachments/assets/9f63ab9f-eac2-4f3e-864c-2b96b58f2d71


Release Notes:

- N/A
```

## Parents

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

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