修复日志样式

This commit is contained in:
whyour 2022-11-28 23:59:23 +08:00
parent 1446e925ec
commit b98b7646cb
3 changed files with 6 additions and 9 deletions

View File

@ -326,10 +326,10 @@ export default class CronService {
const endTime = dayjs();
const diffTimeStr = doc.last_execution_time
? `耗时 ${endTime.diff(
? ` 耗时 ${endTime.diff(
dayjs(doc.last_execution_time * 1000),
'second',
)}`
)} `
: '';
if (logFileExist) {
const str = err ? `\n${err}` : '';

View File

@ -10,8 +10,8 @@
}
.ant-modal-body {
max-height: calc(85vh - 110px);
max-height: calc(85vh - var(--vh-offset, 110px));
max-height: calc(80vh - 110px);
max-height: calc(80vh - var(--vh-offset, 110px));
overflow-y: auto;
}

View File

@ -4,13 +4,10 @@
.crontab-detail {
.card-wrapper {
height: 80vh;
height: calc(80vh - var(--vh-offset, 0px));
.ant-card:last-child {
.ant-card-body {
height: calc(80vh - 238px);
height: calc(80vh - var(--vh-offset, 0px) - 238px);
height: calc(80vh - 367px);
height: calc(80vh - var(--vh-offset, 0px) - 367px);
overflow-y: auto;
}
}