diff --git a/src/common/component/Message/Reply.tsx b/src/common/component/Message/Reply.tsx index e851ca91..8024bfe5 100644 --- a/src/common/component/Message/Reply.tsx +++ b/src/common/component/Message/Reply.tsx @@ -17,7 +17,7 @@ const renderContent = (data: MessagePayload) => { switch (content_type) { case ContentTypes.text: res = ( - + ); @@ -77,7 +77,7 @@ const Reply: FC = ({ mid, interactive = true }) => { }, 3000); } }; - const defaultClass = `flex items-start flex-col md:flex-row p-2 bg-gray-100 dark:bg-gray-900 rounded-lg gap-2 mb-1`; + const defaultClass = `w-fit flex items-start flex-col md:flex-row p-2 bg-gray-100 dark:bg-gray-900 rounded-lg gap-2 mb-1`; if (!data) return
= ({ mid, interactive = true }) => { )} onClick={interactive ? handleClick : undefined} > -
+
- {currUser.name}
-
+
+ {currUser.name} {renderContent(data)} {interactive &&
}