Some functional css for wrapping the chat message that gets overflowed

.chat-message,.chat-text-wrapper{

    white-space: pre-wrap; /* CSS3 */
    white-space: -moz-pre-wrap; /* Firefox */
    white-space: -pre-wrap; /* Opera <7 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* IE */
    text-wrap:normal;/* Chrome */
    word-wrap:break-word;
    margin-left:40px;

}