diff --git a/packages/core/client/src/modules/blocks/data-blocks/table/tableBlockSettings.tsx b/packages/core/client/src/modules/blocks/data-blocks/table/tableBlockSettings.tsx index a3f4bbecae..da441e8f62 100644 --- a/packages/core/client/src/modules/blocks/data-blocks/table/tableBlockSettings.tsx +++ b/packages/core/client/src/modules/blocks/data-blocks/table/tableBlockSettings.tsx @@ -202,7 +202,7 @@ export const tableBlockSettings = new SchemaSettings({ }, null); return { title: t('Table size'), - value: schema?.['x-component-props']?.size || 'middle', + value: schema?.['x-component-props']?.size || 'small', options: [ { label: t('Large'), value: 'large' }, { label: t('Middle'), value: 'middle' }, diff --git a/packages/core/client/src/schema-component/antd/association-field/SubTable.tsx b/packages/core/client/src/schema-component/antd/association-field/SubTable.tsx index f77bcc1dd1..368cb8e461 100644 --- a/packages/core/client/src/schema-component/antd/association-field/SubTable.tsx +++ b/packages/core/client/src/schema-component/antd/association-field/SubTable.tsx @@ -64,7 +64,7 @@ const subTableContainer = css` `; const tableClassName = css` - .ant-formily-item.ant-formily-item-feedback-layout-loose { + .ant-formily-item-feedback-layout-popover { margin-bottom: 0px !important; } .ant-formily-editable { @@ -201,7 +201,6 @@ export const SubTable: any = observer(