fix(web): fill dataset create layout height (#38308)

This commit is contained in:
yyh 2026-07-02 16:10:24 +08:00 committed by GitHub
parent 451faa0e68
commit 6ec56e7bd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -131,9 +131,9 @@ const DatasetUpdateForm = ({ datasetId }: DatasetUpdateFormProps) => {
return <AppUnavailable code={500} unknownReason={t('error.unavailable', { ns: 'datasetCreation' }) as string} />
return (
<div className="flex flex-col overflow-hidden bg-components-panel-bg" style={{ height: 'calc(100vh - 56px)' }}>
<div className="flex h-full min-h-0 flex-col overflow-hidden bg-components-panel-bg">
<TopBar activeIndex={step - 1} datasetId={datasetId} />
<div style={{ height: 'calc(100% - 52px)' }}>
<div className="min-h-0 flex-1">
{
isLoadingAuthedDataSourceList && (
<Loading type="app" />