Code is going beyond the width.

100 views
Skip to first unread message

Kapil Garg

unread,
Apr 30, 2016, 6:47:27 PM4/30/16
to js-code-prettifier
It seems like an overflow style problem but i want to know whether this is a problem with prettify or with some of my code. I am using desert skin. Here is the screenshot of the problem.

Adding a 
overflow :auto
to the prettyprint class removes the problem. So is this prettify problem, skin problem or something else ?

Mike Samuel

unread,
May 2, 2016, 3:11:31 PM5/2/16
to js-code-p...@googlegroups.com

For some users, `whitespace: pre-wrap` makes sense and for some, scrollbars do so I'd rather not mandate one or the other and the choice seems independent of skin.  It seems like long line handling is also a problem for unprettified text so I'm inclined to say that the embedding page should handle it though prettify docs could give guidance.

--
You received this message because you are subscribed to the Google Groups "js-code-prettifier" group.
To unsubscribe from this group and stop receiving emails from it, send an email to js-code-prettif...@googlegroups.com.
To post to this group, send email to js-code-p...@googlegroups.com.
Visit this group at https://groups.google.com/group/js-code-prettifier.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages