processing-py-site
processing-py-site copied to clipboard
Text area too wide for the right shift reference entry
The text bursts out of its 'frame' here: https://py.processing.org/reference/rightshift.html
Probably requires a small CSS/HTML fix. I'll look at it later.
This happens on many pages, and looks to be caused by the <pre>
tag default broswer styling.
I'm not super up to date on my CSS, but adding the style white-space: pre-wrap;
to <pre>
tags looks like a possible fix. Not sure about the browser support tho.
Thanks, @FeXd. Best just to break the offending comment across two lines, then?
I just took a look at the main processing site to see what they do, and the same issue exists. They just have shorter examples.
So @tabreturn I do think the change you suggested of breaking the comment across two lines is the way to go. I might take some time to audit other pages for similar issues.