chore: remove message height limit

This commit is contained in:
Tristan Yang
2023-03-16 17:24:13 +08:00
parent 75df1f93c9
commit 809bc26f94
-2
View File
@@ -147,10 +147,8 @@ const Message: FC<IProps> = ({
</time> </time>
</Tooltip> </Tooltip>
</div> </div>
{/* 文本类的消息限高 */}
<div className={clsx(`select-text text-gray-800 text-sm break-all whitespace-pre-wrap dark:!text-white`, <div className={clsx(`select-text text-gray-800 text-sm break-all whitespace-pre-wrap dark:!text-white`,
sending && "opacity-90", sending && "opacity-90",
content_type.startsWith("text") && "max-h-96 overflow-y-scroll ",
)}> )}>
{reply_mid && <Reply key={reply_mid} mid={reply_mid} />} {reply_mid && <Reply key={reply_mid} mid={reply_mid} />}
{edit ? ( {edit ? (