code: tsx,nextjs,frontends (3 files)

This commit is contained in:
Richard Ward
2025-12-30 12:49:08 +00:00
parent 9f16bdbb89
commit 22bc53c114
3 changed files with 6 additions and 6 deletions

View File

@@ -52,7 +52,7 @@ export const RefreshControls = ({
disabled={!runs || runs.length === 0}
variant="outline"
size="sm"
startIcon={<DownloadIcon sx={{ fontSize: 18 }} />}
startIcon={<Download size={18} />}
>
Download JSON
</Button>
@@ -61,7 +61,7 @@ export const RefreshControls = ({
onClick={onRefresh}
disabled={isLoading}
size="lg"
startIcon={<RefreshIcon sx={isLoading ? spinSx : undefined} />}
startIcon={<Refresh style={isLoading ? spinSx : undefined} />}
>
{isLoading ? 'Fetching...' : 'Refresh'}
</Button>

View File

@@ -85,9 +85,9 @@ export const RunRow = ({
disabled={isSelectedRun}
startIcon={
isSelectedRun ? (
<RunningIcon sx={{ fontSize: 16, ...spinSx }} />
<Autorenew size={16} style={spinSx} />
) : (
<DownloadIcon sx={{ fontSize: 16 }} />
<Download size={16} />
)
}
>
@@ -100,7 +100,7 @@ export const RunRow = ({
href={run.html_url}
target="_blank"
rel="noopener noreferrer"
endIcon={<OpenInNewIcon sx={{ fontSize: 16 }} />}
endIcon={<OpenInNew size={16} />}
>
View
</Button>

View File

@@ -41,7 +41,7 @@ export const RunTable = ({
<CardHeader>
<Stack direction="row" spacing={1} alignItems="center" justifyContent="space-between">
<Stack direction="row" spacing={1} alignItems="center">
<SuccessIcon sx={{ color: 'success.main', fontSize: 24 }} />
<CheckCircle size={24} style={{ color: 'var(--mui-palette-success-main)' }} />
<CardTitle>Recent Workflow Runs</CardTitle>
</Stack>
{isLoading && <Skeleton sx={{ width: 120, height: 12 }} />}