fix(a11y): size recorded-status drilldown targets
This commit is contained in:
@@ -211,7 +211,7 @@ export default function DashboardView({ mode = "dashboard" }: { mode?: "dashboar
|
||||
<Box component="summary" tabIndex={0}>{t("dashboardRecordedStatuses")}</Box>
|
||||
<Stack spacing={1}>
|
||||
{Object.entries(stats?.byStatus ?? {}).map(([status, count]) => <Box key={status} sx={{ display: "flex", justifyContent: "space-between", gap: 1 }}>
|
||||
<Link component={RouterLink} to={`/jobs?${new URLSearchParams({ status })}`} sx={{ overflowWrap: "anywhere" }}>{statusLabel(t, status)}</Link>
|
||||
<Link component={RouterLink} to={`/jobs?${new URLSearchParams({ status })}`} sx={{ overflowWrap: "anywhere", display: "inline-flex", alignItems: "center", minWidth: 24, minHeight: 24 }}>{statusLabel(t, status)}</Link>
|
||||
<Typography variant="body2">{number(count)}</Typography>
|
||||
</Box>)}
|
||||
</Stack>
|
||||
|
||||
Reference in New Issue
Block a user