[fix]:[FL-135][高程数据管理页面表格高度占满页面]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -1094,11 +1094,12 @@ export default function AdminElevationPage() {
|
||||
const datasetTableScrollX = 1940;
|
||||
|
||||
return (
|
||||
<div className="min-h-screen space-y-6">
|
||||
<div className="flex min-h-screen flex-col space-y-6">
|
||||
{messageContextHolder}
|
||||
|
||||
<Card
|
||||
title="高程数据集"
|
||||
className="flex-1 flex flex-col"
|
||||
extra={(
|
||||
<Space>
|
||||
{datasetsQuery.isFetching && <Spin size="small" />}
|
||||
@@ -1126,8 +1127,11 @@ export default function AdminElevationPage() {
|
||||
)}
|
||||
</Space>
|
||||
)}
|
||||
styles={{
|
||||
body: { display: 'flex', flexDirection: 'column', flex: 1, minHeight: 0 }
|
||||
}}
|
||||
>
|
||||
<Form layout="inline" style={{ rowGap: 12 }}>
|
||||
<Form layout="inline" style={{ rowGap: 12, flexShrink: 0 }}>
|
||||
<Form.Item label="关键词" className="min-w-[240px]">
|
||||
<Input
|
||||
allowClear
|
||||
@@ -1166,7 +1170,7 @@ export default function AdminElevationPage() {
|
||||
|
||||
<div
|
||||
ref={tableScrollAnchorRef}
|
||||
className="admin-datasets-table-anchor mt-4"
|
||||
className="admin-datasets-table-anchor mt-4 flex-1"
|
||||
style={{ "--admin-datasets-table-body-min-height": `${tableScrollY}px` } as CSSProperties}
|
||||
>
|
||||
<Table<ElevationDatasetSummary>
|
||||
|
||||
Reference in New Issue
Block a user