diff --git a/packages/core/client/src/schema-component/antd/table-v2/Table.tsx b/packages/core/client/src/schema-component/antd/table-v2/Table.tsx index 72dc35fc4d..d69cfa61ff 100644 --- a/packages/core/client/src/schema-component/antd/table-v2/Table.tsx +++ b/packages/core/client/src/schema-component/antd/table-v2/Table.tsx @@ -166,7 +166,9 @@ const useTableColumns = (props: { showDel?: boolean; isSubTable?: boolean }) => title: render(), dataIndex: 'TABLE_COLUMN_INITIALIZER', key: 'TABLE_COLUMN_INITIALIZER', - render: designable ? () =>
: null, + render: designable + ? () => + : null, fixed: designable ? 'right' : 'none', }, ]; diff --git a/packages/plugins/@nocobase/plugin-mobile/src/client/mobile/styles.ts b/packages/plugins/@nocobase/plugin-mobile/src/client/mobile/styles.ts index 1280cb028b..082f7de2a5 100644 --- a/packages/plugins/@nocobase/plugin-mobile/src/client/mobile/styles.ts +++ b/packages/plugins/@nocobase/plugin-mobile/src/client/mobile/styles.ts @@ -19,7 +19,9 @@ export const useStyles = createStyles(({ token, css }) => { .ant-table-thead button[aria-label*='schema-initializer-TableV2-table:configureColumns'] > .ant-btn-icon { margin: 0px; } - + .ant-table-tbody .nb-column-initializer { + min-width: 40px !important; + } // reset Select record popup .ant-table-thead button[aria-label*='schema-initializer-TableV2.Selector-table:configureColumns'] @@ -54,10 +56,6 @@ export const useStyles = createStyles(({ token, css }) => { .ant-card-body .nb-action-bar .ant-btn-icon { margin-inline-end: 0px !important; } - .ant-card-body .ant-table-cell-fix-right:last-child { - // display: table-cell; - // width: auto; - } .ant-card-body .nb-table-container { margin-right: -20px; margin-left: -10px;