fix: comprehensive UI fix — all table columns have explicit widths, no ellipsis on data, consistent scroll.x
This commit is contained in:
@@ -84,7 +84,7 @@ const TenantsPage: React.FC = () => {
|
||||
|
||||
const columns = [
|
||||
{
|
||||
title: '租赁方名称',
|
||||
title: '租赁方名称', width: 120,
|
||||
dataIndex: 'name',
|
||||
render: (v: string, r: any) => (
|
||||
<Space>
|
||||
@@ -97,10 +97,10 @@ const TenantsPage: React.FC = () => {
|
||||
</Space>
|
||||
),
|
||||
},
|
||||
{ title: '联系人', dataIndex: 'contact', render: (v: string) => v || '-' },
|
||||
{ title: '电话', dataIndex: 'phone', render: (v: string) => v || '-' },
|
||||
{ title: '联系人', dataIndex: 'contact', width: 100, render: (v: string) => v || '-' },
|
||||
{ title: '电话', dataIndex: 'phone', width: 120, render: (v: string) => v || '-' },
|
||||
{
|
||||
title: '颜色',
|
||||
title: '颜色', width: 80,
|
||||
dataIndex: 'color',
|
||||
render: (v: string) =>
|
||||
v ? (
|
||||
|
||||
Reference in New Issue
Block a user