Fixed  Popup profile breakable!

JVCode

Well-known member
I'm in the mood for breaking stuff tonight... I've noticed that if your status message is xxx characters long, text will break out of the popup profile window.

Popup Profile.PNG

I understand that this may not be a problem here because of the limited amount of characters you're able to use, but assuming an admin wants to let their members use large amounts of characters for their status messages, then it will destroy the popup profile window.

Trivial bug, but a bug nonetheless.
 

Mike

XenForo developer
Staff member
There's not a lot of point using Firebug for that, because you're not using the server-side processing.
 

Onimua

Well-known member
isn´t the status-message limited to just 140 characters ?
It is, he was using FireBug to do it through the browser. The second set he took doesn't, and it looks like if you put no space between your words, you can get a solid line that runs off the Member Card.
 

Disjunto

Well-known member
that's due to smilies no longer auto spacing to force a wrap. Since smilies aren't even rendered in the status message, might aswell just wrap them there
 
F

Floris

Guest
It's still not a bug, it's a bug that the user makes smilies without spaces.

if browser = modern, word-wrap .. tada.
 

Disjunto

Well-known member
It's still not a bug, it's a bug that the user makes smilies without spaces.

if browser = modern, word-wrap .. tada.
afaik, word-wrap doesn't wrap mid-word, and smilies have been set to not get auto-spaced, which is annoying.

Mike/Kier: If you can detect if you're in a smiley or not, could you not just wait until after the smiley and then add the space instead of just not adding spaces?
 
F

Floris

Guest
word-wrap: normal; /* breaks words normally (top) */
word-wrap: break-word; /* breaks in block/box to new line to wrap accordingly (bottom) */



Works in IE/Safari/FF, as far as I know.
 

Mike

XenForo developer
Staff member
Fixed now anyway. (And yes, we're using break-word, but it's being used virtually everywhere.)
 
Top