From 832fa526ddeb5b609b56ec66a8bd78ae466a8d53 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sat, 8 Mar 2025 18:08:49 -0600 Subject: [PATCH] refactor(ui): improve environment code editor styling and layout - Adjust CodeEditor component wrapper and class names - Enhance font and styling for environment configuration - Optimize form item and control rendering --- .../application/environment/show-enviroment.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/dokploy/components/dashboard/application/environment/show-enviroment.tsx b/apps/dokploy/components/dashboard/application/environment/show-enviroment.tsx index ba20db31..cc208d9b 100644 --- a/apps/dokploy/components/dashboard/application/environment/show-enviroment.tsx +++ b/apps/dokploy/components/dashboard/application/environment/show-enviroment.tsx @@ -132,8 +132,8 @@ export const ShowEnvironment = ({ id, type }: Props) => { control={form.control} name="environment" render={({ field }) => ( - - + + { } language="properties" disabled={isEnvVisible} + className="font-mono" + wrapperClassName="compose-file-editor" placeholder={`NODE_ENV=production PORT=3000 -`} - className="h-96 font-mono" + `} {...field} /> - )}