Merge pull request #898 from drudge/canary

feat(server): monospace script editor
This commit is contained in:
Mauricio Siu
2024-12-15 20:48:38 -06:00
committed by GitHub

View File

@@ -108,8 +108,7 @@ export const EditScript = ({ serverId }: Props) => {
</DialogDescription>
<AlertBlock type="warning">
We suggest to don't modify the script if you don't know what you are
doing
We recommend not modifying this script unless you know what you are doing.
</AlertBlock>
</DialogHeader>
<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">
<CodeEditor
language="shell"
wrapperClassName="font-mono"
{...field}
placeholder={`
set -e