diff --git a/web/components/chat/ChatActionMessage/ChatActionMessage.module.scss b/web/components/chat/ChatActionMessage/ChatActionMessage.module.scss index 47ba1f60c..da4477419 100644 --- a/web/components/chat/ChatActionMessage/ChatActionMessage.module.scss +++ b/web/components/chat/ChatActionMessage/ChatActionMessage.module.scss @@ -1,6 +1,9 @@ +.chatActionPadding { + padding: 4px 1rem; +} + .chatAction { padding: 8px; - margin: 4px 1rem; border-radius: 4px; text-align: center; font-size: 12px; diff --git a/web/components/chat/ChatActionMessage/ChatActionMessage.tsx b/web/components/chat/ChatActionMessage/ChatActionMessage.tsx index 6ef38cd7a..1eaf5301c 100644 --- a/web/components/chat/ChatActionMessage/ChatActionMessage.tsx +++ b/web/components/chat/ChatActionMessage/ChatActionMessage.tsx @@ -8,5 +8,7 @@ export type ChatActionMessageProps = { // eslint-disable-next-line @typescript-eslint/no-unused-vars export const ChatActionMessage: FC = ({ body }) => ( -
+
+
+
); diff --git a/web/components/chat/ChatContainer/ChatContainer.module.scss b/web/components/chat/ChatContainer/ChatContainer.module.scss index ca9a0ec09..b44aab381 100644 --- a/web/components/chat/ChatContainer/ChatContainer.module.scss +++ b/web/components/chat/ChatContainer/ChatContainer.module.scss @@ -45,7 +45,6 @@ flex-grow: 1; overflow-y: scroll; overflow-x: hidden; - margin-bottom: 5px; overscroll-behavior: contain; } diff --git a/web/components/chat/ChatModeratorNotification/ChatModeratorNotification.module.scss b/web/components/chat/ChatModeratorNotification/ChatModeratorNotification.module.scss index 3eacd6f94..a3f84546d 100644 --- a/web/components/chat/ChatModeratorNotification/ChatModeratorNotification.module.scss +++ b/web/components/chat/ChatModeratorNotification/ChatModeratorNotification.module.scss @@ -3,7 +3,6 @@ .chatModerationNotification { background-color: var(--theme-background-primary); color: var(--theme-color-components-chat-text); - margin: 5px; padding: 10px; font-size: var(--chat-message-text-size); diff --git a/web/components/chat/ChatSocialMessage/ChatSocialMessage.module.scss b/web/components/chat/ChatSocialMessage/ChatSocialMessage.module.scss index 57e503f1f..b6807b170 100644 --- a/web/components/chat/ChatSocialMessage/ChatSocialMessage.module.scss +++ b/web/components/chat/ChatSocialMessage/ChatSocialMessage.module.scss @@ -1,3 +1,7 @@ +.followerPadding { + padding: 0.5em; +} + .follower { border-color: rgb(0 0 0 / 30%); border-width: 1px; @@ -5,7 +9,6 @@ padding: 10px; border-radius: var(--theme-rounded-corners); background-color: var(--theme-color-background-main); - margin: 0.5em; &:hover { border-color: var(--theme-text-link); diff --git a/web/components/chat/ChatSocialMessage/ChatSocialMessage.tsx b/web/components/chat/ChatSocialMessage/ChatSocialMessage.tsx index 30ef48e78..ec3799934 100644 --- a/web/components/chat/ChatSocialMessage/ChatSocialMessage.tsx +++ b/web/components/chat/ChatSocialMessage/ChatSocialMessage.tsx @@ -39,22 +39,24 @@ export const ChatSocialMessage: FC = ({ message }) => { } return ( -
- - - - - {title.charAt(0).toUpperCase()} - + ); }; diff --git a/web/components/chat/ChatSystemMessage/ChatSystemMessage.module.scss b/web/components/chat/ChatSystemMessage/ChatSystemMessage.module.scss index 960038c5c..a3dc097eb 100644 --- a/web/components/chat/ChatSystemMessage/ChatSystemMessage.module.scss +++ b/web/components/chat/ChatSystemMessage/ChatSystemMessage.module.scss @@ -1,3 +1,8 @@ +.chatSystemMessagePadding { + padding: 5px; + padding-bottom: 10px; +} + .chatSystemMessage { background: var(--theme-color-background-main); background: linear-gradient( @@ -6,8 +11,6 @@ rgb(65 28 139) 40%, rgb(71 50 133) 80% ); - margin: 5px; - margin-bottom: 10px; border-radius: 5px; border-width: 1px; border-style: solid; diff --git a/web/components/chat/ChatSystemMessage/ChatSystemMessage.tsx b/web/components/chat/ChatSystemMessage/ChatSystemMessage.tsx index 3e430ecfd..8246dd1ec 100644 --- a/web/components/chat/ChatSystemMessage/ChatSystemMessage.tsx +++ b/web/components/chat/ChatSystemMessage/ChatSystemMessage.tsx @@ -18,17 +18,19 @@ export const ChatSystemMessage: FC = ({ }, highlightString, }) => ( -
-
- {displayName} +
+
+
+ {displayName} +
+
-
);