File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
packages/website/src/components Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -199,13 +199,12 @@ const CopyCommand = () => {
199199 : "shrink-0 text-white/50 transition-colors group-hover:text-white" ;
200200
201201 return (
202- < button
203- onClick = { handleCopy }
204- className = "group flex items-center gap-4 border border-white/20 px-3 py-1.5 transition-colors hover:bg-white/5"
205- >
206- < span className = "whitespace-nowrap text-white" > { COMMAND } </ span >
207- < IconComponent size = { 16 } className = { iconClass } />
208- </ button >
202+ < div className = "group flex items-center gap-4 border border-white/20 px-3 py-1.5 transition-colors hover:bg-white/5" >
203+ < span className = "select-all whitespace-nowrap text-white" > { COMMAND } </ span >
204+ < button onClick = { handleCopy } >
205+ < IconComponent size = { 16 } className = { iconClass } />
206+ </ button >
207+ </ div >
209208 ) ;
210209} ;
211210
You can’t perform that action at this time.
0 commit comments