style: adjust spacing in FormPrezzo and update DialogContent max width in EditPrezzoModal
This commit is contained in:
parent
b9934cb390
commit
237c068409
2 changed files with 3 additions and 3 deletions
|
|
@ -132,7 +132,7 @@ export const FormPrezzo = ({
|
|||
<Form {...form}>
|
||||
<form
|
||||
onSubmit={form.handleSubmit(onSubmit)}
|
||||
className="space-y-8 px-0.5"
|
||||
className="space-y-4 px-0.5"
|
||||
>
|
||||
<FormField
|
||||
control={form.control}
|
||||
|
|
@ -240,7 +240,7 @@ export const FormPrezzo = ({
|
|||
id="prezzo"
|
||||
value={Number(field.value) / 100}
|
||||
onChange={(v) => {
|
||||
field.onChange(() => parseInt(v.target.value) * 100);
|
||||
field.onChange(parseInt(v.target.value) * 100);
|
||||
}}
|
||||
/>
|
||||
</FormControl>
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ const EditPrezzoModal = ({
|
|||
|
||||
return (
|
||||
<Dialog open={open} onOpenChange={setOpen}>
|
||||
<DialogContent className="sm:max-w-[425px]">
|
||||
<DialogContent className="sm:max-w-2xl">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Modifica Servizio</DialogTitle>
|
||||
<DialogDescription className="sr-only">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue