Skip to content

Commit

Permalink
added Grid2 to allow for align=start
Browse files Browse the repository at this point in the history
  • Loading branch information
rosannamilner committed Dec 10, 2024
1 parent 3ab9f14 commit f3f6965
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/components/Shared/CustomAlertScore/index.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { Alert } from "@mui/material";
import { Alert, Grid2 } from "@mui/material";
import CopyButton from "../CopyButton";
import { i18nLoadNamespace } from "../Languages/i18nLoadNamespace";
import Typography from "@mui/material/Typography";
Expand Down Expand Up @@ -140,9 +140,11 @@ const CustomAlertScore = ({
/>
}
>
<Typography variant="body1" align="start">
{alertSettings.displayText}
</Typography>
<Grid2 container>
<Grid2 size={{ xs: 12 }} align="start">
<Typography variant="body1">{alertSettings.displayText}</Typography>
</Grid2>
</Grid2>
</Alert>
);
};
Expand Down

0 comments on commit f3f6965

Please sign in to comment.