From 8836b561c0f154321ded8f0a8e70c43a09961596 Mon Sep 17 00:00:00 2001 From: Roie Natan Date: Tue, 24 Oct 2023 19:01:13 +0100 Subject: [PATCH 1/2] updated system message design --- .../components/Chat/ChatMessage/ChatMessage.module.scss | 9 ++++----- src/shared/components/Chat/ChatMessage/ChatMessage.tsx | 8 -------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/src/shared/components/Chat/ChatMessage/ChatMessage.module.scss b/src/shared/components/Chat/ChatMessage/ChatMessage.module.scss index 9da9e2e916..abeb5dd29c 100644 --- a/src/shared/components/Chat/ChatMessage/ChatMessage.module.scss +++ b/src/shared/components/Chat/ChatMessage/ChatMessage.module.scss @@ -58,6 +58,7 @@ box-sizing: border-box; position: relative; text-align: start; + font-size: $small; &:hover { .menuArrowButton { @@ -85,10 +86,9 @@ } .systemMessage { - width: 100%; - max-width: unset; - min-width: unset; - background-color: $c-pink-light; + width: fit-content; + text-align: center; + font-size: $xxsmall-2; } .messageName { @@ -102,7 +102,6 @@ } .messageContent { - font-size: $small; color: $secondary-blue; word-wrap: break-word; white-space: pre-line; diff --git a/src/shared/components/Chat/ChatMessage/ChatMessage.tsx b/src/shared/components/Chat/ChatMessage/ChatMessage.tsx index c7a7274694..985258ebfc 100644 --- a/src/shared/components/Chat/ChatMessage/ChatMessage.tsx +++ b/src/shared/components/Chat/ChatMessage/ChatMessage.tsx @@ -475,14 +475,6 @@ export default function ChatMessage({ /> )} - {isSystemMessage && ( -