4 ms·
Somewhat unrelated: When I open the link, the lines of text are super long and do not wrap in a standard desktop browser. Am I doing something wrong? Or: Is t
by throwaway2037 5y ago
Somewhat unrelated: When I open the link, the lines of text are super long and do not wrap in a standard desktop browser. Am I doing something wrong? Or: Is there a trick to force wrap the text in a browser?
- blumomo 5y agoEnable the reader mode of your browser for his page. Firefox has it [0] and other browsers surely, too. [0] https://support.mozilla.org/en-US/kb/firefox-reader-view-clutter-free-web-pages https://support.mozilla.org/en-US/kb/firefox-reader-view-clu...
- markstos 5y agoIt still doesn’t wrap in Safari mobile’s reader mode
- deleted 5y ago[deleted]
- gunapologist99 5y agoIt's because this is literally the only style specified in the page: <style type="text/css"> pre { white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ } </style> Perhaps it's to make sure code snippets are correctly aligned, but a link to a wrapping version would be very useful, or perhaps just letting very long lines wrap in a narrow browser window, because the current model means that you have to scroll horizontally as you read every single line, even on a very wide screen.
- kevincox 5y agopre-wrap should allow wrapping. And adding white-space: pre-wrap explicitly to the pre fixes it for me. So maybe that isn't applying for some reason. Edit: Ah, the problem appears to be that a Content-Security-Policy blocks it. > Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”).