Merge pull request #38 from bob2402/button-full-width

problem: button is not full width
This commit is contained in:
gsovereignty
2024-07-24 19:09:42 +08:00
committed by GitHub

View File

@@ -80,7 +80,9 @@
</script>
<Dialog.Root>
<Dialog.Trigger class={buttonVariants({ variant: 'default' })}>Create a Rocket</Dialog.Trigger>
<Dialog.Trigger class={`${buttonVariants({ variant: 'default' })} w-full`}
>Create a Rocket</Dialog.Trigger
>
<Dialog.Content class="sm:max-w-[425px]">
<Dialog.Header>
<Dialog.Title>Name Your Rocket</Dialog.Title>