修复任务详情样式

This commit is contained in:
whyour 2022-03-07 23:56:15 +08:00
parent 0051260171
commit 38df66a5b1

View File

@ -63,7 +63,6 @@ const CronDetailModal = ({
const contentList: any = { const contentList: any = {
log: ( log: (
<List <List
style={{ height: 'calc(80vh - 236px)', overflowY: 'auto' }}
dataSource={logs} dataSource={logs}
loading={loading} loading={loading}
renderItem={(item) => ( renderItem={(item) => (
@ -246,6 +245,7 @@ const CronDetailModal = ({
onTabChange={(key) => { onTabChange={(key) => {
onTabChange(key); onTabChange(key);
}} }}
bodyStyle={{ height: 'calc(80vh - 188px)', overflowY: 'auto' }}
> >
{contentList[activeTabKey]} {contentList[activeTabKey]}
</Card> </Card>