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
@@ -271,6 +271,7 @@ const GPUService: React.FC = () => {
if (!clusterLoading && !hasK8sCluster) {
return (
<NoResult
minHeight="calc(100vh - 300px)"
loading={dataSource.loading || clusterLoading}
loadend={dataSource.loadend}
dataSource={[]}
@@ -294,6 +295,7 @@ const GPUService: React.FC = () => {
}
return (
<NoResult
minHeight="calc(100vh - 300px)"
loading={dataSource.loading}
loadend={dataSource.loadend}
dataSource={dataSource.dataList}