💄 style: 优化兜底结果展示

This commit is contained in:
arvinxx
2023-07-29 21:35:04 +08:00
parent 475108473e
commit 9da45d648b

View File

@@ -40,7 +40,7 @@ const PluginResult = memo<FunctionMessageProps>(({ content }) => {
<Icon icon={open ? LucideChevronUp : LucideChevronDown} />
</Flexbox>
{open && (
<Highlighter language={'json'} style={{ maxHeight: 200 }}>
<Highlighter language={'json'} style={{ maxHeight: 200, maxWidth: 600 }}>
{data}
</Highlighter>
)}