mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-10 21:12:02 +08:00
style: table column congirure fields bar style improve (#5055)
This commit is contained in:
parent
1338940c71
commit
ecaf0b7e79
@ -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',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user