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

@@ -392,7 +392,7 @@ const RoomsPage: React.FC = () => {
columns={columns}
dataSource={filteredData}
rowKey="id"
scroll={{ x: 'max-content' }}
scroll={{ x: 1200 }}
loading={loading}
pagination={{ pageSize: 20, showTotal: (total) => `${total}` }}
rowClassName={(record) => (record.status === 'archived' ? 'archived-row' : '')}