mblode/marx

overflow <pre>

inoas opened this issue · 3 comments

inoas commented

Could we add:

overflow-wrap: break-word;

... to <pre/>?

The issue is with the default marx css I got issues like this:

screen shot 2017-06-26 at 12 36 36

aka the <pre/> block grows bigger than its encapsulating <main/> wants it to grow.

inoas commented

Alternatively we can adopt the same auto-wrapping styles as they are there for <code/>?

inoas commented

I see you were quick with merging ;)
Another way to solve this is to use both <pre> AND <code> using the 2.0.7 code base.

inoas commented

I think it is however fine how it is at the moment. I had no issues yet.