feat(PublicJobFair): Improve table layout and scrolling behavior
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled

- Increase operation column width from 150 to 200 pixels for better button spacing
- Fix operation column to the right side of the table with fixed positioning
- Add horizontal scroll support to table with max-content width configuration
- Enhance user experience when viewing job fair listings with many columns
This commit is contained in:
2026-01-11 11:35:06 +08:00
parent d07fe77e72
commit b48d7ea7ad

View File

@@ -88,7 +88,8 @@ const PublicJobFairList: React.FC = () => {
{
title: '操作',
valueType: 'option',
width: 150,
width: 200,
fixed: 'right',
render: (_, record) => [
<Button
key="detail"
@@ -137,6 +138,7 @@ const PublicJobFairList: React.FC = () => {
actionRef={actionRef}
rowKey="jobFairId"
columns={columns}
scroll={{ x: 'max-content' }}
rowSelection={{
selectedRowKeys,
onChange: setSelectedRowKeys,