Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The code blocks break mobile viewport width. Surely it's better than wrapping, but the best solution is to use max-width and overflow-x: auto which makes them scrollable.


I prefer zooming for reading code. Horizontal scrolling divs are horrible.


But then you still end up scrolling horizontally once you're zoomed in, no? What's the difference?


I can zoom out.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: