editor: Ensure code actions menu doesn't grow beyond its max size (#35211)
Finn Evers
created
This resolves the same issue as fixed by
https://github.com/zed-industries/zed/pull/34939/commits/d295409f0fc9c1ccd5e06e91c1c5365e96f16486
for the code actions menu.
No release notes since this only occurs on Nightly.
Release Notes:
- N/A