forked from wangziqi/gongxue-base
fix(admin): replace scroll.x='max-content' with calculated fixed widths for all tables
This commit is contained in:
@@ -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' : '')}
|
||||
|
||||
Reference in New Issue
Block a user