taras42 / karma-jasmine-html-reporter

A Karma plugin. Dynamically displays tests results at debug.html page
MIT License
44 stars 17 forks source link

Fix result-message div content too large for the parent #33

Open ybarbaria opened 6 years ago

ybarbaria commented 6 years ago

Hello,

I tried to contribute to your project, but without success. I have updated your jasmine.css file like that : .html-reporter .result-message { padding-top: 14px; color: #333333; white-space: pre; overflow: auto } .html-reporter .result-message span.result { display: block; }

I saw one error on design after using your reporter :

image

The error come from your css : html-reporter .result-message { padding-top: 14px; color: #333333; white-space: pre; }

Fix : You fix it by adding overflow: auto. in this case a scrollbar will appear.
Or replace white-space:pre by white-space: pre-wrap;, in this case the content will be wrapped.

image

Thx :)

Mokkapps commented 6 years ago

I would highly appreciate that this is fixed soon!

ybarbaria commented 6 years ago

Any news?