PDA

View Full Version : PM Text Overflow Fix



retrosprite
03-04-2016, 02:26 AM
I received a email from one of my users and their message just so happened to be a long line of text which went off the page. So I sent myself a private message with a long line of text without any spaces and noticed again it extend outside of it's box:

screenshot 1 (http://i.imgur.com/QgCbdvL.png)
screenshot 2 (http://i.imgur.com/i5Be8Mj.png)

So I edited my template to fix the issue:

screenshot 3 (http://i.imgur.com/9Qgcmj9.png)
screenshot 4 (http://i.imgur.com/mTDH2Rp.png)

Here is my fix if anyone is interested:



/* Private Messages */
.message-box .box-main{
word-wrap: break-word;
}
.send-message-box .box-main {
word-wrap: break-word;
}