mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-18 02:14:32 +08:00
修复任务详情脚本行数展示
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
padding: 12px;
|
||||
max-height: calc(80vh - 57px);
|
||||
max-height: calc(80vh - var(--vh-offset, 57px));
|
||||
word-wrap: unset;
|
||||
}
|
||||
|
||||
.ant-card-body {
|
||||
@@ -197,4 +198,4 @@ body[data-mode='desktop'] {
|
||||
|
||||
.cron.pinned-cron > td {
|
||||
background: #f2f2f2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user