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