feat: centering and sizing loader

This commit is contained in:
Rohit
2025-08-31 12:14:22 +05:30
parent be0548f244
commit 83f0497c0a
2 changed files with 22 additions and 2 deletions

View File

@@ -517,7 +517,17 @@ export const RecordingsTable = ({
</Box>
{isLoading ? (
<CircularProgress size={32} />
<Box
display="flex"
justifyContent="center"
alignItems="center"
sx={{
minHeight: '60vh',
width: '100%'
}}
>
<CircularProgress size={60} />
</Box>
) : filteredRows.length === 0 ? (
<Box
display="flex"

View File

@@ -383,7 +383,17 @@ export const RunsTable: React.FC<RunsTableProps> = ({
</Box>
{isLoading? (
<CircularProgress size={32} />
<Box
display="flex"
justifyContent="center"
alignItems="center"
sx={{
minHeight: '60vh',
width: '100%'
}}
>
<CircularProgress size={60} />
</Box>
) : Object.keys(groupedRows).length === 0 ? (
<Box
display="flex"