editor: Ensure placeholder text wraps properly after font size change (#37992)
Finn Evers
created
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