mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +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">
|
||||
{children}
|
||||
<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>}
|
||||
</div>
|
||||
</pre>
|
||||
|
Loading…
Reference in New Issue
Block a user