Skip to content

Commit 9816eca

Browse files
authored
Merge pull request #1433 from Dokploy/1334-increase-the-size-of-environment-window
refactor(ui): improve environment code editor styling and layout
2 parents 2a5eceb + 832fa52 commit 9816eca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

apps/dokploy/components/dashboard/application/environment/show-enviroment.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ export const ShowEnvironment = ({ id, type }: Props) => {
132132
control={form.control}
133133
name="environment"
134134
render={({ field }) => (
135-
<FormItem className="w-full">
136-
<FormControl>
135+
<FormItem>
136+
<FormControl className="">
137137
<CodeEditor
138138
style={
139139
{
@@ -142,14 +142,14 @@ export const ShowEnvironment = ({ id, type }: Props) => {
142142
}
143143
language="properties"
144144
disabled={isEnvVisible}
145+
className="font-mono"
146+
wrapperClassName="compose-file-editor"
145147
placeholder={`NODE_ENV=production
146148
PORT=3000
147-
`}
148-
className="h-96 font-mono"
149+
`}
149150
{...field}
150151
/>
151152
</FormControl>
152-
153153
<FormMessage />
154154
</FormItem>
155155
)}

0 commit comments

Comments
 (0)