From ac3b54b62bdd0d65868482929338d24d1cfff81f Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 10 Mar 2021 00:46:55 +0300 Subject: [PATCH] For Bug 35896: select chat messages --- apps/common/main/lib/view/Chat.js | 2 +- apps/common/main/resources/less/chat.less | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/common/main/lib/view/Chat.js b/apps/common/main/lib/view/Chat.js index c4ca52921..3566d8d17 100644 --- a/apps/common/main/lib/view/Chat.js +++ b/apps/common/main/lib/view/Chat.js @@ -77,7 +77,7 @@ define([ '
', '
<%=msg.get("usercolor")%><% } else { %> #cfcfcf <% } %>; " >
<%= scope.getUserName(msg.get("username")) %>', '
', - '', + '', '<% } %>', ''].join(''), diff --git a/apps/common/main/resources/less/chat.less b/apps/common/main/resources/less/chat.less index 900c8118e..e11419c95 100644 --- a/apps/common/main/resources/less/chat.less +++ b/apps/common/main/resources/less/chat.less @@ -124,7 +124,9 @@ .message { word-wrap: break-word; width: 100%; - + &.user-select { + cursor: text; + } //&.service { // text-align: center; // color: #CECECE;