mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-25 05:35:48 +00:00
style: fixes
This commit is contained in:
@@ -30,7 +30,12 @@ export function CopyPreset() {
|
||||
}, [presetCode])
|
||||
|
||||
return (
|
||||
<Button variant="ghost" size="sm" onClick={handleCopy} className="group/button">
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
onClick={handleCopy}
|
||||
className="group/button"
|
||||
>
|
||||
<HugeiconsIcon
|
||||
icon={hasCopied ? Tick02Icon : Copy01Icon}
|
||||
strokeWidth={2}
|
||||
|
||||
@@ -117,7 +117,9 @@ export function ProjectForm() {
|
||||
|
||||
return (
|
||||
<Dialog open={open} onOpenChange={setOpen}>
|
||||
<DialogTrigger render={<Button size="sm" />}>Create Project</DialogTrigger>
|
||||
<DialogTrigger render={<Button size="sm" />}>
|
||||
Create Project
|
||||
</DialogTrigger>
|
||||
<DialogContent className="min-w-0 sm:max-w-md">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Create Project</DialogTitle>
|
||||
|
||||
@@ -42,7 +42,11 @@ export function ResetButton() {
|
||||
/>
|
||||
<AlertDialogTrigger
|
||||
render={
|
||||
<Button variant="outline" size="sm" className="hidden w-full sm:flex">
|
||||
<Button
|
||||
variant="outline"
|
||||
size="sm"
|
||||
className="hidden w-full sm:flex"
|
||||
>
|
||||
Reset
|
||||
</Button>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user