feat: Super wide style bugfix

This commit is contained in:
wb-lh513319
2024-08-15 14:44:53 +08:00
parent f1ca8a76ad
commit 868df31422

View File

@@ -168,7 +168,7 @@ const ChatContent: React.FC<{
<div className="flex flex-1 gap-3 mt-6">
{/* icon */}
<div className="flex flex-shrink-0 items-start">{isRobot ? <RobotIcon model={model_name} /> : <UserIcon />}</div>
<div className={`flex ${scene === 'chat_agent' && !thinking ? 'flex-1' : ''}`}>
<div className={`flex ${scene === 'chat_agent' && !thinking ? 'flex-1' : ''} overflow-hidden`}>
{/* 用户提问 */}
{!isRobot && <div className="flex flex-1 items-center text-sm text-[#1c2533] dark:text-white">{typeof context === 'string' && context}</div>}
{/* ai回答 */}