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> </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