4 ms·
i don't get it. for me (safari on mac) they both go off horizontally. so it's not a problem specific to pre. and horizontal scrollbars suck anyway.
by curi 19y ago
i don't get it. for me (safari on mac) they both go off horizontally. so it's not a problem specific to pre. and horizontal scrollbars suck anyway.
- edu 19y agoThe problem IS specific to pre. The problem is that a long line in a pre makes the page wider and then the other paragraphs uses all the available space (wich is larger than the screen, and then horizontal scrollbars appear). With the patch proposed by gojomo, a long line in a pre will not make the page wider so the other paragraphs would work correctly. Evidently, the pre line will still be long so horizontal scrollbars will be still necessary but only within the pre.
- rms 19y agoThis is how they do it on reddit, try making a long line in code mode on reddit.