You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Text area too wide for the right shift reference entry #183
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.
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.
Activity
FeXd commentedon Dec 7, 2020
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.tabreturn commentedon Dec 7, 2020
Thanks, @FeXd. Best just to break the offending comment across two lines, then?
Attempt to fix overflowing code examples by forcing word wrap
FeXd commentedon Apr 18, 2021
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.