mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-03 20:58:01 +08:00
fix: sub table overflow
This commit is contained in:
parent
859bb18f97
commit
f70b229985
@ -178,8 +178,8 @@ export function SubTableField(props: any) {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<div>
|
<div className={'sub-table-field'}>
|
||||||
<Table size={'middle'} columns={fields2columns(children)} dataSource={value} pagination={false}/>
|
<Table size={'small'} columns={fields2columns(children)} dataSource={value} pagination={false}/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -13,3 +13,11 @@
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sub-table-field {
|
||||||
|
overflow: auto;
|
||||||
|
> .ant-table-wrapper {
|
||||||
|
width: 1px;
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user