Skip to content

Commit

Permalink
Merge pull request #2242 from daostack/cw-2238-updated-system-message…
Browse files Browse the repository at this point in the history
…-design

change system messages design #2238
  • Loading branch information
pvm-code authored Oct 25, 2023
2 parents 441d1e0 + de1bc73 commit 1b5b75d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
12 changes: 6 additions & 6 deletions src/shared/components/Chat/ChatMessage/ChatMessage.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
box-sizing: border-box;
position: relative;
text-align: start;
font-size: $small;
color: $secondary-blue;

&:hover {
.menuArrowButton {
Expand Down Expand Up @@ -85,10 +87,10 @@
}

.systemMessage {
width: 100%;
max-width: unset;
min-width: unset;
background-color: $c-pink-light;
width: fit-content;
text-align: center;
font-size: $xxsmall-2;
color: $c-gray-60;
}

.messageName {
Expand All @@ -102,8 +104,6 @@
}

.messageContent {
font-size: $small;
color: $secondary-blue;
word-wrap: break-word;
white-space: pre-line;
margin-right: 1rem;
Expand Down
8 changes: 0 additions & 8 deletions src/shared/components/Chat/ChatMessage/ChatMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -454,14 +454,6 @@ export default function ChatMessage({
/>
)}
</div>
{isSystemMessage && (
<Time
createdAtDate={createdAtDate}
editedAtDate={editedAtDate}
moderation={discussionMessage.moderation}
isNotCurrentUserMessage={isNotCurrentUserMessage}
/>
)}
</>
)}
</div>
Expand Down

0 comments on commit 1b5b75d

Please sign in to comment.