DrupalDocs.org cannot be easily used by people who must use large fonts. See the screenshot (horizontal scrolling).

CommentFileSizeAuthor
scrdocs.jpg210.93 KBnsk

Comments

bryan kennedy’s picture

The problem isn't really with the style it's more with the content. In other words many of the strings on drupaldocs are long spaceless chunks of text that force the site wide when you are looking at it with large fonts. For the most part it deals with large fonts well. There isn't an easy way in css to properlly wrap these long strings like you see in your screenshot. I also think we wouldn't want to wrap them on a code site where introducing linebreaks could be a bad idea. I am going to say this is one we shouldn't fix.

junyor’s picture

You can use 'white-space: pre-wrap' or 'overflow: auto' to do the wrapping in CSS. Coupled with 'text-indent', it could probably work fairly efffectively (in browsers that support the CSS, that is).

robert castelo’s picture

'overflow: auto' stop the text from displaying in certain browsers - so it could be a solution, but only if we include browser hacks to hide the 'overflow: auto' CSS from those browsers.

junyor’s picture

What about 'white-space: pre-wrap', then? I don't think it causes any problems in browsers that don't support it.