themondays / Dwarf

Dwarf is HD Redmine theme with many outstanding features.
125 stars 19 forks source link

Word wrap #18

Closed BoonHean closed 8 years ago

BoonHean commented 8 years ago

The description and comments of an issue doesn't seems to word wrap properly. Several words got divided between 2 lines for my setup.

Other than that, the theme looks great!

themondays commented 8 years ago

Hi, Can you drop me a screenshot, I will check this issue. I've forced word wrap to prevent text overflow inside container.

garrettr commented 8 years ago

I'm pretty sure this is a duplicate of #11.

garrettr commented 8 years ago

Here's an example screenshot where you can see how words get broken across lines in display a Project's description. This also applies to issue's descriptions and comments (since they all have div.wiki).

screen shot 2016-06-13 at 12 42 00 pm

garrettr commented 8 years ago

Disabling the following CSS rule fixes the issue for me:

.wiki {
    word-break: break-all;
}

According to Chrome's DevTools, it's defined in /themes/dwarf/stylesheets/application.css.

BoonHean commented 8 years ago

That works for me. Thanks garrettr!

themondays commented 8 years ago

Yeah, should be ok, however if you're working on lot of client's issue or bugfixes, sometime you may need to break an incredibly long inputs or links. Just keep it in mind.