mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 16:33:36 +00:00
further refinement for new app builds
This commit is contained in:
1 parent
45ff37e752
commit
8c34dbc8d5
4 files changed
+175
-63
No files matched your search
@@ -111,10 +111,9 @@ export function ZapDialog({ target, children, className }: ZapDialogProps) {
|
||||
return (
|
||||
<Dialog open={open} onOpenChange={setOpen}>
|
||||
<DialogTrigger asChild>
|
||||
<Button variant="ghost" size="sm" className={`text-muted-foreground hover:text-yellow-600 ${className || ''}`}>
|
||||
<Zap className={`h-4 w-4 ${children ? 'mr-1' : ''}`} />
|
||||
<div className={`cursor-pointer ${className || ''}`}>
|
||||
{children}
|
||||
</Button>
|
||||
</div>
|
||||
</DialogTrigger>
|
||||
<DialogContent className="sm:max-w-[425px]" data-testid="zap-modal">
|
||||
<DialogHeader>
|
||||
|
||||
Reference in new issue
Block a user