center
This commit is contained in:
1 parent
f9b677b1ad
commit
50fd66ef56
1 file changed
+12
-3
@@ -28,7 +28,10 @@ const SummaryCard = ({
|
|||||||
padding={8}
|
padding={8}
|
||||||
flex={1}
|
flex={1}
|
||||||
>
|
>
|
||||||
<Stack gap={theme.spacing(4)}>
|
<Stack
|
||||||
|
gap={theme.spacing(4)}
|
||||||
|
height="100%"
|
||||||
|
>
|
||||||
<Typography
|
<Typography
|
||||||
component="h2"
|
component="h2"
|
||||||
sx={{
|
sx={{
|
||||||
@@ -65,11 +68,17 @@ export const SummaryCardActiveIncidents = ({ incidents }: SummaryCardIncidentsPr
|
|||||||
) : (
|
) : (
|
||||||
<CircleCheck color={color} />
|
<CircleCheck color={color} />
|
||||||
);
|
);
|
||||||
const msg = t("pages.incidents.summaryCard.activeIncidents.active", { count: activeCount });
|
const msg = t("pages.incidents.summaryCard.activeIncidents.active", {
|
||||||
|
count: activeCount,
|
||||||
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SummaryCard title={t("pages.incidents.summaryCard.activeIncidents.title")}>
|
<SummaryCard
|
||||||
|
title={t("pages.incidents.summaryCard.activeIncidents.title")}
|
||||||
|
sx={{ height: "100%" }}
|
||||||
|
>
|
||||||
<Stack
|
<Stack
|
||||||
|
flex={1}
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
justifyContent="center"
|
justifyContent="center"
|
||||||
gap={theme.spacing(4)}
|
gap={theme.spacing(4)}
|
||||||
|
|||||||
Reference in new issue
Block a user