mblode / marx

The classless CSS reset (perfect for Communists).
https://mblode.github.io/marx/
MIT License
1.69k stars 101 forks source link

overflow <pre> #22

Closed inoas closed 7 years ago

inoas commented 7 years ago

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 7 years ago

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

inoas commented 7 years ago

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 7 years ago

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