Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
RicoElectrico
6 months ago
|
parent
|
context
|
favorite
| on:
Constantly Divisionless Random Numbers
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.
fanf2
6 months ago
[–]
I prefer zooming for reading code. Horizontal scrolling divs are horrible.
Etheryte
6 months ago
|
parent
[–]
But then you still end up scrolling horizontally once you're zoomed in, no? What's the difference?
fanf2
6 months ago
|
root
|
parent
[–]
I can zoom out.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: