snaha / diete.design

https://diete.design
MIT License
0 stars 0 forks source link

fix: responsive layout #171

Closed agazso closed 4 months ago

agazso commented 4 months ago

The responsive layout was broken due to a regression. I fixed it by getting rid of the grid and also the highlight component no longer requires to be in a VerticalContainer.

The real problem is the highlight component trying to take up all the horizontal space so that it can display the longest line in the code. I added a workaround to break the lines, which is not the nicest, it would be better if it just overflowed, but I could not achieve that.

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
diete-design ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2024 10:43am