mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
Merge pull request #898 from drudge/canary
feat(server): monospace script editor
This commit is contained in:
@@ -108,8 +108,7 @@ export const EditScript = ({ serverId }: Props) => {
|
|||||||
</DialogDescription>
|
</DialogDescription>
|
||||||
|
|
||||||
<AlertBlock type="warning">
|
<AlertBlock type="warning">
|
||||||
We suggest to don't modify the script if you don't know what you are
|
We recommend not modifying this script unless you know what you are doing.
|
||||||
doing
|
|
||||||
</AlertBlock>
|
</AlertBlock>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
<div className="grid gap-4">
|
<div className="grid gap-4">
|
||||||
@@ -128,6 +127,7 @@ export const EditScript = ({ serverId }: Props) => {
|
|||||||
<FormControl className="max-h-[75vh] max-w-[60rem] overflow-y-scroll overflow-x-hidden">
|
<FormControl className="max-h-[75vh] max-w-[60rem] overflow-y-scroll overflow-x-hidden">
|
||||||
<CodeEditor
|
<CodeEditor
|
||||||
language="shell"
|
language="shell"
|
||||||
|
wrapperClassName="font-mono"
|
||||||
{...field}
|
{...field}
|
||||||
placeholder={`
|
placeholder={`
|
||||||
set -e
|
set -e
|
||||||
|
|||||||
Reference in New Issue
Block a user