Merge pull request #738 from ONLYOFFICE/fix/bugfix

For Bug 35896: select chat messages
This commit is contained in:
Julia Radzhabova 2021-03-10 00:52:44 +03:00 committed by GitHub
commit 60f59caae3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -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(''),

View file

@ -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;