@@ -312,7 +312,7 @@ function PluginCard({
312312 ) ) }
313313 < span className = "ml-auto" > { p . marketplace } </ span >
314314 </ div >
315- < div className = "mt-3 border-t border-border pt-3" >
315+ < div className = "mt-3 flex justify-end border-t border-border pt-3" >
316316 { installedScopes . length === 0 ? (
317317 < ScopeButton
318318 label = "Use"
@@ -339,17 +339,17 @@ function PluginCard({
339339 < button
340340 onClick = { ( ) => onUninstall ( installedScopes [ 0 ] ) }
341341 disabled = { busy }
342- className = "btn btn-danger w-full justify-center "
342+ className = "btn btn-danger px-3 py-1 text-xs "
343343 >
344- { busy ? < Loader2 className = "h-4 w-4 animate-spin" /> : < Trash2 className = "h-4 w-4 " /> }
344+ { busy ? < Loader2 className = "h-3.5 w-3.5 animate-spin" /> : < Trash2 className = "h-3.5 w-3.5 " /> }
345345 Remove
346346 </ button >
347347 ) : (
348348 < ScopeButton
349349 label = "Remove"
350350 variant = "danger"
351351 busy = { busy }
352- icon = { < Trash2 className = "h-4 w-4 " /> }
352+ icon = { < Trash2 className = "h-3.5 w-3.5 " /> }
353353 options = { [
354354 { scope : 'project' , label : 'Remove from this project' , icon : < FolderGit2 className = "h-4 w-4" /> } ,
355355 { scope : 'global' , label : 'Remove everywhere' , icon : < Globe className = "h-4 w-4" /> } ,
@@ -395,13 +395,13 @@ function ScopeButton({
395395 < button
396396 onClick = { ( ) => setOpen ( ( o ) => ! o ) }
397397 disabled = { busy }
398- className = { cls ( 'btn w-full justify-center ' , variant === 'danger' ? 'btn-danger' : 'btn-primary' ) }
398+ className = { cls ( 'btn px-3 py-1 text-xs ' , variant === 'danger' ? 'btn-danger' : 'btn-primary' ) }
399399 >
400- { busy ? < Loader2 className = "h-4 w-4 animate-spin" /> : icon }
400+ { busy ? < Loader2 className = "h-3.5 w-3.5 animate-spin" /> : icon }
401401 { label }
402402 </ button >
403403 { open && (
404- < div className = "absolute bottom-full left-0 right-0 z-50 mb-1.5 overflow-hidden rounded-lg border border-border bg-panel py-1 shadow-xl shadow-black/40" >
404+ < div className = "absolute bottom-full right-0 z-50 mb-1.5 w-56 overflow-hidden rounded-lg border border-border bg-panel py-1 shadow-xl shadow-black/40" >
405405 { options . map ( ( o ) => (
406406 < button
407407 key = { o . scope }
0 commit comments