mblode / marx

The classless CSS reset (perfect for Communists).

Home Page:https://mblode.github.io/marx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

overflow <pre>

inoas opened this issue · comments

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.

commented

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

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.

commented

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