mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 09:34:31 +08:00
修复任务详情脚本行数展示
This commit is contained in:
@@ -475,5 +475,5 @@
|
||||
"代理地址, 支持HTTP(S)/SOCK5": "Proxy Address, supports HTTP(S)/SOCK5",
|
||||
"NPM 镜像源": "NPM Mirror Source",
|
||||
"PyPI 镜像源": "PyPI Mirror Source",
|
||||
"alpine linux 镜像源, 例如 mirrors.aliyun.com": "Alpine Linux Mirror Source, e.g. mirrors.aliyun.com"
|
||||
"alpine linux 镜像源, 例如 https://mirrors.aliyun.com": "Alpine Linux Mirror Source, e.g. https://mirrors.aliyun.com"
|
||||
}
|
||||
|
||||
@@ -475,5 +475,5 @@
|
||||
"代理地址, 支持HTTP(S)/SOCK5": "代理地址, 支持HTTP(S)/SOCK5",
|
||||
"NPM 镜像源": "NPM 镜像源",
|
||||
"PyPI 镜像源": "PyPI 镜像源",
|
||||
"alpine linux 镜像源, 例如 mirrors.aliyun.com": "alpine linux 镜像源, 例如 mirrors.aliyun.com"
|
||||
"alpine linux 镜像源, 例如 https://mirrors.aliyun.com": "alpine linux 镜像源, 例如 https://mirrors.aliyun.com"
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -266,11 +266,10 @@ const Log = () => {
|
||||
options={{
|
||||
readOnly: true,
|
||||
fontSize: 12,
|
||||
minimap: { enabled: false },
|
||||
lineNumbersMinChars: 3,
|
||||
fontFamily: 'Source Code Pro',
|
||||
folding: false,
|
||||
glyphMargin: false,
|
||||
wordWrap: 'on',
|
||||
}}
|
||||
/>
|
||||
</SplitPane>
|
||||
|
||||
@@ -185,7 +185,7 @@ const Dependence = () => {
|
||||
<Input
|
||||
style={{ width: 360 }}
|
||||
placeholder={intl.get(
|
||||
'alpine linux 镜像源, 例如 mirrors.aliyun.com',
|
||||
'alpine linux 镜像源, 例如 https://mirrors.aliyun.com',
|
||||
)}
|
||||
value={systemConfig?.linuxMirror}
|
||||
onChange={(e) => {
|
||||
|
||||
Reference in New Issue
Block a user