mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 14:56:07 +08:00
修复定时任务详情日志列表样式
This commit is contained in:
parent
62a29867a3
commit
8760ac2964
|
@ -362,8 +362,13 @@ const CronDetailModal = ({
|
|||
<Modal
|
||||
title={
|
||||
<div className="crontab-title-wrapper">
|
||||
<div>
|
||||
<span>{currentCron.name}</span>
|
||||
<div style={{ minWidth: 0 }}>
|
||||
<Typography.Text
|
||||
style={{width: '100%'}}
|
||||
ellipsis={{ tooltip: currentCron.name }}
|
||||
>
|
||||
{currentCron.name}
|
||||
</Typography.Text>
|
||||
{currentCron.labels?.length > 0 && currentCron.labels[0] !== '' && (
|
||||
<Divider type="vertical"></Divider>
|
||||
)}
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
.card-wrapper {
|
||||
.ant-card:last-child {
|
||||
.ant-card-body {
|
||||
min-height: 300px;
|
||||
height: calc(90vh - 367px);
|
||||
height: calc(90vh - var(--vh-offset, 0px) - 367px);
|
||||
min-height: 0;
|
||||
height: calc(80vh - 314px);
|
||||
height: calc(80vh - var(--vh-offset, 0px) - 314px);
|
||||
overflow-y: auto;
|
||||
|
||||
> div {
|
||||
|
@ -21,6 +21,8 @@
|
|||
.ant-modal-body {
|
||||
background: #eee;
|
||||
padding: 12px;
|
||||
max-height: calc(80vh - 57px);
|
||||
max-height: calc(80vh - var(--vh-offset, 57px));
|
||||
}
|
||||
|
||||
.ant-card-body {
|
||||
|
|
Loading…
Reference in New Issue
Block a user