mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-01 03:38:32 +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 (
|
||||
<div>
|
||||
<Table size={'middle'} columns={fields2columns(children)} dataSource={value} pagination={false}/>
|
||||
<div className={'sub-table-field'}>
|
||||
<Table size={'small'} columns={fields2columns(children)} dataSource={value} pagination={false}/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -13,3 +13,11 @@
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
.sub-table-field {
|
||||
overflow: auto;
|
||||
> .ant-table-wrapper {
|
||||
width: 1px;
|
||||
overflow: visible;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user