From c004345a48c95eef5ee60e0e050a7e4e0572ab49 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 27 Mar 2020 16:07:47 +0100 Subject: [PATCH] Make system messages light again Signed-off-by: Joas Schilling --- .../MessagesList/MessagesGroup/Message/Message.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/MessagesList/MessagesGroup/Message/Message.vue b/src/components/MessagesList/MessagesGroup/Message/Message.vue index e01821042..8e1e09957 100644 --- a/src/components/MessagesList/MessagesGroup/Message/Message.vue +++ b/src/components/MessagesList/MessagesGroup/Message/Message.vue @@ -44,7 +44,7 @@ the main body of the message as well as a quote. -
+
@@ -207,6 +207,10 @@ export default { return this.isReplyable }, + isSystemMessage() { + return this.systemMessage !== '' + }, + messageTime() { return OC.Util.formatDate(this.timestamp * 1000, 'LT') }, @@ -347,6 +351,10 @@ export default { text-align: center; } + &.system-message { + color: var(--color-text-maxcontrast); + } + ::v-deep .rich-text--wrapper { white-space: pre-wrap; word-break: break-word;