Commit 943e36eb by t0ng7u

馃悰 fix(playground): set Chat error text color to white to match Semi UI

- Update error-state rendering to use white text in the playground chat
- Remove Typography.Text `type="danger"` and the red background for consistency with official behavior
- Preserve layout and other message states (loading/success/system) unchanged
- No linter issues introduced

Files touched:
- web/src/components/playground/MessageContent.jsx
parent 05ad8c12
...@@ -71,8 +71,8 @@ const MessageContent = ({ ...@@ -71,8 +71,8 @@ const MessageContent = ({
} }
return ( return (
<div className={`${className} flex items-center p-4 bg-red-50 rounded-xl`}> <div className={`${className}`}>
<Typography.Text type="danger" className="text-sm"> <Typography.Text className="text-white">
{errorText} {errorText}
</Typography.Text> </Typography.Text>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment