mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
remove classname from copybutton since it's already applied by default
This commit is contained in:
parent
942f7c4431
commit
1cf3671ac4
@ -89,7 +89,7 @@ const CodeBlock = ({ children, onClickExecute }: CodeBlockProps) => {
|
|||||||
<pre className="codeblock">
|
<pre className="codeblock">
|
||||||
{children}
|
{children}
|
||||||
<div className="codeblock-actions">
|
<div className="codeblock-actions">
|
||||||
<CopyButton className="copy-button" onClick={handleCopy} title="Copy" />
|
<CopyButton onClick={handleCopy} title="Copy" />
|
||||||
{onClickExecute && <i className="fa-regular fa-square-terminal" onClick={handleExecute}></i>}
|
{onClickExecute && <i className="fa-regular fa-square-terminal" onClick={handleExecute}></i>}
|
||||||
</div>
|
</div>
|
||||||
</pre>
|
</pre>
|
||||||
|
Loading…
Reference in New Issue
Block a user