소스 검색

Merge branch 'fix/dingding_login' into 'develop'

IM聊天内容长度超出框的样式问题修复

See merge request o2oa/o2oa!2666
楼国栋 5 년 전
부모
커밋
f7720c56c8
1개의 변경된 파일9개의 추가작업 그리고 7개의 파일을 삭제
  1. 9 7
      o2web/source/x_component_IMV2/$Main/default/style.css

+ 9 - 7
o2web/source/x_component_IMV2/$Main/default/style.css

@@ -345,19 +345,20 @@
     padding: 10px 10px 10px 10px;
     border-radius: 7px;
     text-indent: -12px;
+    word-wrap: break-word;
   }
   .chat-sender .img-chat {
     width:192px;
     height:144px;
     display: table-cell;
     vertical-align: middle;
-}
-.chat-sender .img-chat img  {
-    max-width: 100%;
-    max-height: 100%;
-    display: block;
-    margin: auto;
-}
+  }
+  .chat-sender .img-chat img  {
+      max-width: 100%;
+      max-height: 100%;
+      display: block;
+      margin: auto;
+  }
   
   .chat-receiver {
     clear: both;
@@ -396,6 +397,7 @@
     margin: 0px 50px 10px 50px;
     padding: 10px 10px 10px 10px;
     border-radius: 7px;
+    word-wrap: break-word;
   }
 
   .chat-receiver div:first-child img,