style: table column congirure fields bar style improve (#5055)
Some checks are pending
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase Backend Test / sqlite-test (20, false) (push) Waiting to run
NocoBase Backend Test / sqlite-test (20, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (public, 20, public, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, nocobase, true) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, false) (push) Waiting to run
NocoBase Backend Test / postgres-test (user_schema, 20, public, true) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, false) (push) Waiting to run
NocoBase Backend Test / mysql-test (20, true) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, false) (push) Waiting to run
NocoBase Backend Test / mariadb-test (20, true) (push) Waiting to run
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
Test on Windows / build (push) Waiting to run

This commit is contained in:
Katherine 2024-08-14 16:56:33 +08:00 committed by GitHub
parent 1338940c71
commit ecaf0b7e79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -166,7 +166,9 @@ const useTableColumns = (props: { showDel?: boolean; isSubTable?: boolean }) =>
title: render(), title: render(),
dataIndex: 'TABLE_COLUMN_INITIALIZER', dataIndex: 'TABLE_COLUMN_INITIALIZER',
key: 'TABLE_COLUMN_INITIALIZER', key: 'TABLE_COLUMN_INITIALIZER',
render: designable ? () => <div style={{ width: '100%' }} /> : null, render: designable
? () => <div style={{ width: '100%', minWidth: '180px' }} className="nb-column-initializer" />
: null,
fixed: designable ? 'right' : 'none', fixed: designable ? 'right' : 'none',
}, },
]; ];

View File

@ -19,7 +19,9 @@ export const useStyles = createStyles(({ token, css }) => {
.ant-table-thead button[aria-label*='schema-initializer-TableV2-table:configureColumns'] > .ant-btn-icon { .ant-table-thead button[aria-label*='schema-initializer-TableV2-table:configureColumns'] > .ant-btn-icon {
margin: 0px; margin: 0px;
} }
.ant-table-tbody .nb-column-initializer {
min-width: 40px !important;
}
// reset Select record popup // reset Select record popup
.ant-table-thead .ant-table-thead
button[aria-label*='schema-initializer-TableV2.Selector-table:configureColumns'] 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 { .ant-card-body .nb-action-bar .ant-btn-icon {
margin-inline-end: 0px !important; 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 { .ant-card-body .nb-table-container {
margin-right: -20px; margin-right: -20px;
margin-left: -10px; margin-left: -10px;