修复任务详情脚本行数展示

This commit is contained in:
whyour
2023-12-17 17:53:15 +08:00
parent be1d68c0d1
commit ca8790bbec
7 changed files with 20 additions and 13 deletions
+2 -3
View File
@@ -107,10 +107,9 @@ const CronDetailModal = ({
value={value}
options={{
fontSize: 12,
minimap: { enabled: false },
lineNumbersMinChars: 3,
fontFamily: 'Source Code Pro',
glyphMargin: false,
wordWrap: 'on',
}}
onMount={(editor, monaco) => {
editorRef.current = editor;
@@ -364,7 +363,7 @@ const CronDetailModal = ({
<div className="crontab-title-wrapper">
<div style={{ minWidth: 0 }}>
<Typography.Text
style={{width: '100%'}}
style={{ width: '100%' }}
ellipsis={{ tooltip: currentCron.name }}
>
{currentCron.name}