File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
packages/repl/src/lib/Input Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 192192
193193 <button
194194 class =" copy-button"
195- title =" Copy to clipboard"
196- aria-label =" Copy to clipboard"
195+ title =" Copy `npx sv create --from-playground= " ... " ` to clipboard"
196+ aria-label =" Copy `npx sv create --from-playground= " ... " ` to clipboard"
197197 onclick ={() => {
198198 navigator .clipboard .writeText (
199199 ` npx sv create --from-playground="${window .location .href }" `
200200 );
201201 }}
202202 >
203- Copy < code >sv create --from-playground</ code >
203+ Set up locally
204204 </button >
205205 </Toolbox >
206206 </div >
376376
377377 .copy-button {
378378 position : relative ;
379- height : 3.6rem ;
380- margin-right : 2rem ;
381379
382380 &::before,
383381 &::after {
386384 position : absolute ;
387385 width : 100% ;
388386 height : 100% ;
389- right : 1.1 rem ;
390- top : 1.1 rem ;
387+ right : 0 ;
388+ top : 0 ;
391389 background : currentColor ;
392- mask : no-repeat 100% 0 % / 1.6rem 1.6rem ;
390+ mask : no-repeat calc ( 100% - 1 rem ) 50 % / 1.6rem 1.6rem ;
393391 transition : opacity 0.2s ;
394392 transition-delay : 0.6s ;
395393 }
You can’t perform that action at this time.
0 commit comments