zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
34.47k stars 1.71k forks source link

(zed.dev) Code can overflow on website releases page #11384

Open in-the-trees opened 2 weeks ago

in-the-trees commented 2 weeks ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Related to #10328

On small width viewports code often overflows. This causes the page to be zoomed out:


Adding the break-all Tailwind class should do the trick:

<code class="bg-accent-blue/10 -mx-1 py-0.5 px-1 font-mono text-sm break-all"> ... </code>

Environment

iOS Safari

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response