Jonlin 6 жил өмнө
parent
commit
18503cbde2

+ 2 - 2
application/admin/controller/System.php

@@ -373,10 +373,10 @@ class System extends Base
                 $this->matching("#[哈哈]/","#\[","\]\/");
                 //$this->getFacesIcon();
                 $html = $html . '<div style="margin-top:15px;width:75%"><div>'.$chat[$i]['from_name'].'&nbsp&nbsp&nbsp'.$chat[$i]['time_line'].'</div>';
-                $html = $html . '<div style="margin-top:5px;display:inline-block;*display:inline;*zoom:1;" class="form-content">'.$content['content'].'</div></div>';
+                $html = $html . '<div style="margin-top:5px;display:inline-block;*display:inline;*zoom:1;word-break:break-all;word-wrap:break-word" class="form-content">'.$content['content'].'</div></div>';
             }else{
                 $html = $html . '<div style="margin-top:15px;width:75%;margin-left:25%;text-align:right;"><div>'.$chat[$i]['from_name'].'&nbsp&nbsp&nbsp'.$chat[$i]['time_line'].'</div>';
-                $html = $html . '<div style="margin-top:5px;display:inline-block;*display:inline;*zoom:1;" class="form-content">'.$content['content'].'</div></div>';
+                $html = $html . '<div style="margin-top:5px;display:inline-block;*display:inline;*zoom:1;text-align:left;word-break:break-all;word-wrap:break-word" class="form-content">'.$content['content'].'</div></div>';
             }
 
         }