Skip to content

Commit

Permalink
💄 style: 优化兜底结果展示
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jul 29, 2023
1 parent 4751084 commit 9da45d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
)}
Expand Down

0 comments on commit 9da45d6

Please sign in to comment.