Merge pull request #1433 from Dokploy/1334-increase-the-size-of-environment-window

refactor(ui): improve environment code editor styling and layout
This commit is contained in:
Mauricio Siu
2025-03-08 18:09:04 -06:00
committed by GitHub

View File

@@ -132,8 +132,8 @@ export const ShowEnvironment = ({ id, type }: Props) => {
control={form.control} control={form.control}
name="environment" name="environment"
render={({ field }) => ( render={({ field }) => (
<FormItem className="w-full"> <FormItem>
<FormControl> <FormControl className="">
<CodeEditor <CodeEditor
style={ style={
{ {
@@ -142,14 +142,14 @@ export const ShowEnvironment = ({ id, type }: Props) => {
} }
language="properties" language="properties"
disabled={isEnvVisible} disabled={isEnvVisible}
className="font-mono"
wrapperClassName="compose-file-editor"
placeholder={`NODE_ENV=production placeholder={`NODE_ENV=production
PORT=3000 PORT=3000
`} `}
className="h-96 font-mono"
{...field} {...field}
/> />
</FormControl> </FormControl>
<FormMessage /> <FormMessage />
</FormItem> </FormItem>
)} )}