diff --git a/apps/meteor/client/views/room/MessageList/MessageList.tsx b/apps/meteor/client/views/room/MessageList/MessageList.tsx index 5a3a267b73dc..7b60fd167ac9 100644 --- a/apps/meteor/client/views/room/MessageList/MessageList.tsx +++ b/apps/meteor/client/views/room/MessageList/MessageList.tsx @@ -1,6 +1,6 @@ import type { IRoom } from '@rocket.chat/core-typings'; import { isThreadMessage } from '@rocket.chat/core-typings'; -import { MessageDivider } from '@rocket.chat/fuselage'; +import { MessageDivider, Box } from '@rocket.chat/fuselage'; import { useSetting, useTranslation, useUserPreference } from '@rocket.chat/ui-contexts'; import type { ReactElement, ComponentProps } from 'react'; import React, { Fragment, memo } from 'react'; @@ -58,9 +58,13 @@ export const MessageList = ({ rid, scrollMessageList }: MessageListProps): React return ( {showDivider && ( - - {newDay && formatDate(message.ts)} - + + + {newDay && formatDate(message.ts)} + + + + )} {visible && (