File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -104,17 +104,20 @@ export function CopyMarkdownButton({
104104 return (
105105 < button
106106 disabled = { isLoading }
107- className = "py-1 px-2 text-sm bg-white/70 text-black dark:bg-gray-500/40 dark:text-white shadow-lg shadow-black/20 flex items-center justify-center backdrop-blur-sm z-20 rounded-lg overflow-hidden"
107+ className = "py-1 px-2 text-sm bg-white/70 text-black dark:bg-gray-500/40 dark:text-white shadow-lg shadow-black/10 flex items-center justify-center backdrop-blur-sm z-20 rounded-lg overflow-hidden"
108108 onClick = { onClick }
109109 title = "Copy markdown source"
110110 >
111111 < div className = "flex gap-2 items-center" >
112112 { checked ? (
113- < FaCheck className = "w-3 h-3" />
113+ < >
114+ < FaCheck className = "w-3 h-3" /> Copied to Clipboard
115+ </ >
114116 ) : (
115- < FaCopy className = "w-3 h-3" />
117+ < >
118+ < FaCopy className = "w-3 h-3" /> Copy Markdown
119+ </ >
116120 ) }
117- Copy Markdown
118121 </ div >
119122 </ button >
120123 )
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ export function Doc({
129129 < GamLeader />
130130 </ AdGate >
131131 { title ? (
132- < div className = "flex items-center justify-between gap-4" >
132+ < div className = "flex items-center justify-between gap-4 pr-4 " >
133133 < DocTitle > { title } </ DocTitle >
134134 < div className = "flex items-center gap-4" >
135135 < CopyMarkdownButton
You can’t perform that action at this time.
0 commit comments