Merge pull request #738 from ONLYOFFICE/fix/bugfix
For Bug 35896: select chat messages
This commit is contained in:
commit
60f59caae3
|
@ -77,7 +77,7 @@ define([
|
||||||
'<div class="user-name" data-can-copy="true">',
|
'<div class="user-name" data-can-copy="true">',
|
||||||
'<div class="color" style="display: inline-block; background-color: <% if (msg.get("usercolor")!==null) { %><%=msg.get("usercolor")%><% } else { %> #cfcfcf <% } %>; " ></div><%= scope.getUserName(msg.get("username")) %>',
|
'<div class="color" style="display: inline-block; background-color: <% if (msg.get("usercolor")!==null) { %><%=msg.get("usercolor")%><% } else { %> #cfcfcf <% } %>; " ></div><%= scope.getUserName(msg.get("username")) %>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'<label class="message user-select" data-can-copy="true"><%= msg.get("message") %></label>',
|
'<label class="message user-select" data-can-copy="true" tabindex="-1" oo_editor_input="true"><%= msg.get("message") %></label>',
|
||||||
'<% } %>',
|
'<% } %>',
|
||||||
'</li>'].join(''),
|
'</li>'].join(''),
|
||||||
|
|
||||||
|
|
|
@ -124,7 +124,9 @@
|
||||||
.message {
|
.message {
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
&.user-select {
|
||||||
|
cursor: text;
|
||||||
|
}
|
||||||
//&.service {
|
//&.service {
|
||||||
// text-align: center;
|
// text-align: center;
|
||||||
// color: #CECECE;
|
// color: #CECECE;
|
||||||
|
|
Loading…
Reference in a new issue