fix: center NoResult empty state with minHeight on list pages

This commit is contained in:
jialin
2026-07-14 19:54:45 +08:00
committed by jialin
parent 8f0691395b
commit 06a2777632
18 changed files with 19 additions and 0 deletions
+1
View File
@@ -72,6 +72,7 @@ const GPUList: React.FC<GPUListProps> = ({ clusterId, source }) => {
if (type !== 'Table') return;
return (
<NoResult
minHeight="calc(100vh - 300px)"
loading={dataSource.loading}
loadend={dataSource.loadend}
dataSource={dataSource.dataList}
@@ -233,6 +233,7 @@ const ModelFiles = () => {
if (type !== 'Table') return;
return (
<NoResult
minHeight="calc(100vh - 300px)"
loading={dataSource.loading}
loadend={dataSource.loadend}
dataSource={dataSource.dataList}