Commit 7902fcaf by Archer Committed by GitHub

Package (#6973)

* perf: deploy

* doc

* default editor size
parent f33c80a6
......@@ -58,7 +58,7 @@ const loadDeployVersions = async () => {
return versions.sort((a, b) => {
if (a === 'main') return 1;
if (b === 'main') return -1;
return a.localeCompare(b, undefined, { numeric: true });
return b.localeCompare(a, undefined, { numeric: true });
});
};
......
......@@ -16,8 +16,8 @@ import { useSandboxFileStore } from './hook';
type EditorInstance = Parameters<NonNullable<Parameters<typeof Editor>[0]['onMount']>>[0];
const FILE_TREE_DEFAULT_WIDTH = 250;
const FILE_TREE_MIN_WIDTH = 250;
const FILE_TREE_DEFAULT_WIDTH = 230;
const FILE_TREE_MIN_WIDTH = 230;
const FILE_TREE_MAX_WIDTH = 600;
const EDITOR_MIN_WIDTH = 360;
......
......@@ -18,8 +18,7 @@ const SandboxEditorModal = ({ onClose, ...props }: Props) => {
onClose={onClose}
title={t('chat:sandbox_files')}
isCentered
maxW={['90vw', '1150px']}
w={'100%'}
size="lg"
h={'85vh'}
closeOnOverlayClick={false}
>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment