studio/frontend: pad Python tool code block to fix corner clipping (#5938)
This commit is contained in:
parent
aee0657640
commit
07f0eddb0b
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ function HighlightedCode({ code: source, language }: { code: string; language: s
|
|||
[source, language],
|
||||
);
|
||||
return (
|
||||
<div className="max-h-48 overflow-auto text-xs [&_pre]:!m-0 [&_pre]:!bg-transparent [&_pre]:!p-0 [&_pre]:!text-xs [&_[data-streamdown=code-block]]:!my-0 [&_[data-streamdown=code-block]]:!p-0 [&_[data-streamdown=code-block]]:!border-0">
|
||||
<div className="max-h-48 overflow-auto text-xs [&_pre]:!m-0 [&_pre]:!bg-transparent [&_pre]:!p-0 [&_pre]:!text-xs [&_[data-streamdown=code-block]]:!my-0 [&_[data-streamdown=code-block]]:!p-3 [&_[data-streamdown=code-block]]:!border-0">
|
||||
<Streamdown
|
||||
mode="static"
|
||||
plugins={{ code: codePlugin }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue