fix(admin): replace scroll.x='max-content' with calculated fixed widths for all tables

This commit is contained in:
2026-07-06 16:39:53 +08:00
parent 8fc697e58f
commit 43ee4dc5d5
17 changed files with 23 additions and 27 deletions

View File

@@ -441,7 +441,7 @@ const ExpensesPage: React.FC = () => {
dataSource={filteredRoomExpenses}
rowKey="id"
loading={loading}
scroll={{ x: 'max-content' }}
scroll={{ x: 1200 }}
pagination={{ pageSize: 15, showTotal: (total) => `${total}` }}
rowSelection={{
selectedRowKeys: selectedRoomKeys,
@@ -591,7 +591,7 @@ const ExpensesPage: React.FC = () => {
dataSource={filteredPersonalExpenses}
rowKey="id"
loading={loading}
scroll={{ x: 'max-content' }}
scroll={{ x: 1200 }}
pagination={{ pageSize: 15, showTotal: (total) => `${total}` }}
rowSelection={{
selectedRowKeys: selectedPersonalKeys,