mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
style: environment style improvement
This commit is contained in:
@@ -55,13 +55,13 @@ export const ShowEnvironment = ({ applicationId }: Props) => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Form {...form}>
|
<Card className="bg-background px-6 pb-6">
|
||||||
<form
|
<Form {...form}>
|
||||||
onSubmit={form.handleSubmit(onSubmit)}
|
<form
|
||||||
className="flex w-full flex-col gap-5 "
|
onSubmit={form.handleSubmit(onSubmit)}
|
||||||
>
|
className="flex w-full flex-col gap-4"
|
||||||
<Card className="bg-background p-6">
|
>
|
||||||
<Secrets
|
<Secrets
|
||||||
name="env"
|
name="env"
|
||||||
title="Environment Settings"
|
title="Environment Settings"
|
||||||
@@ -89,15 +89,13 @@ export const ShowEnvironment = ({ applicationId }: Props) => {
|
|||||||
placeholder="NPM_TOKEN=xyz"
|
placeholder="NPM_TOKEN=xyz"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<CardContent>
|
<div className="flex flex-row justify-end">
|
||||||
<div className="flex flex-row justify-end">
|
<Button isLoading={isLoading} className="w-fit" type="submit">
|
||||||
<Button isLoading={isLoading} className="w-fit" type="submit">
|
Save
|
||||||
Save
|
</Button>
|
||||||
</Button>
|
</div>
|
||||||
</div>
|
</form>
|
||||||
</CardContent>
|
</Form>
|
||||||
</Card>
|
</Card>
|
||||||
</form>
|
);
|
||||||
</Form>
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user