Commit 0d5ad48 1 parent 457ddf4 commit 0d5ad48 Copy full SHA for 0d5ad48
File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -429,6 +429,7 @@ export const CustomPre: React.FC<CodeBoxProps> = ({
429
429
</ div >
430
430
< div className = "nx-gap-4 nx-flex nx-flex-col" >
431
431
< div
432
+ id = "code-block-outer"
432
433
className = "code-style-outer"
433
434
style = { { overflowX : "scroll" , width : "100%" } }
434
435
ref = { codeRef }
@@ -477,6 +478,7 @@ export const ModifiedPre = ({
477
478
{ filename && < span className = "filename" > { filename } </ span > }
478
479
{ hasCopyCode && (
479
480
< div
481
+ id = "modified-copy"
480
482
onClick = { handleCopy }
481
483
className = "nx-cursor-pointer nx-ml-auto nx-flex nx-gap-2 nx-items-center"
482
484
>
@@ -497,8 +499,7 @@ export const ModifiedPre = ({
497
499
</ span >
498
500
</ >
499
501
) : (
500
- // <CopyIcon />
501
- < > </ >
502
+ < CopyIcon />
502
503
) }
503
504
</ div >
504
505
) }
Original file line number Diff line number Diff line change @@ -5409,3 +5409,7 @@ div:hover > .\[div\:hover\>\&\]\:nx-opacity-100 {
5409
5409
grid-template-columns : 1fr ;
5410
5410
}
5411
5411
}
5412
+
5413
+ # code-block-outer # modified-copy {
5414
+ display : none;
5415
+ }
You can’t perform that action at this time.
0 commit comments