Simple Machines Community Forum

Customizing SMF => Tips and Tricks => Topic started by: Adrek on December 29, 2012, 12:53:09 PM

Title: [SMF 2.0.x] Long usernames, custom titles or personal text 'breakes' theme
Post by: Adrek on December 29, 2012, 12:53:09 PM
I see that it's fixed in 2.1, but maybe some next update for 2.0 series can include fix for this:
(http://img826.imageshack.us/img826/5523/welcometosmf.png)

It needs just simple word-wrap: break-word; for class poster, but i guess you know it :)
Title: Re: [SMF 2.0.x] Long usernames, custom titles or personal text 'breakes' theme
Post by: Antechinus on December 29, 2012, 04:20:41 PM
This is the most bulletproof way of handling it:

.poster li {
word-break: hyphenate;
word-wrap: break-word;
}


It really needs both to cover all bases.
Title: Re: [SMF 2.0.x] Long usernames, custom titles or personal text 'breakes' theme
Post by: emanuele on December 29, 2012, 04:46:11 PM
Thanks for the report.

I think it has been reported already (there should be a topic in this board or in fixed/bogus) and if I remember correctly it's fixed in 2.1.
Title: Re: [SMF 2.0.x] Long usernames, custom titles or personal text 'breakes' theme
Post by: Antechinus on December 29, 2012, 05:19:47 PM
Yeah it was. That's why I made up that css: to fix it in 2.1. Could be included in a 2.0.x patch, but probably wont be. Better suited to Tips and Tricks IMO.