mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
修复日志样式
This commit is contained in:
parent
1446e925ec
commit
b98b7646cb
|
@ -326,10 +326,10 @@ export default class CronService {
|
||||||
|
|
||||||
const endTime = dayjs();
|
const endTime = dayjs();
|
||||||
const diffTimeStr = doc.last_execution_time
|
const diffTimeStr = doc.last_execution_time
|
||||||
? `,耗时 ${endTime.diff(
|
? ` 耗时 ${endTime.diff(
|
||||||
dayjs(doc.last_execution_time * 1000),
|
dayjs(doc.last_execution_time * 1000),
|
||||||
'second',
|
'second',
|
||||||
)}`
|
)} 秒`
|
||||||
: '';
|
: '';
|
||||||
if (logFileExist) {
|
if (logFileExist) {
|
||||||
const str = err ? `\n${err}` : '';
|
const str = err ? `\n${err}` : '';
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-modal-body {
|
.ant-modal-body {
|
||||||
max-height: calc(85vh - 110px);
|
max-height: calc(80vh - 110px);
|
||||||
max-height: calc(85vh - var(--vh-offset, 110px));
|
max-height: calc(80vh - var(--vh-offset, 110px));
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,13 +4,10 @@
|
||||||
|
|
||||||
.crontab-detail {
|
.crontab-detail {
|
||||||
.card-wrapper {
|
.card-wrapper {
|
||||||
height: 80vh;
|
|
||||||
height: calc(80vh - var(--vh-offset, 0px));
|
|
||||||
|
|
||||||
.ant-card:last-child {
|
.ant-card:last-child {
|
||||||
.ant-card-body {
|
.ant-card-body {
|
||||||
height: calc(80vh - 238px);
|
height: calc(80vh - 367px);
|
||||||
height: calc(80vh - var(--vh-offset, 0px) - 238px);
|
height: calc(80vh - var(--vh-offset, 0px) - 367px);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user