mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-24 10:39:40 -06:00
Fix: center placeholder in content area and merge branch 'develop' into fix/placeholder-center-align
This commit is contained in:
@@ -221,7 +221,15 @@ const PieChart = ({ audits }) => {
|
||||
const colorMap = getColors(performance);
|
||||
|
||||
return (
|
||||
<Box onMouseLeave={() => setExpand(false)}>
|
||||
<Box
|
||||
onMouseLeave={() => setExpand(false)}
|
||||
sx={{
|
||||
display: "flex",
|
||||
justifyContent: "center",
|
||||
alignItems: "center",
|
||||
width: "100%",
|
||||
}}
|
||||
>
|
||||
{expand ? (
|
||||
<MuiPieChart
|
||||
series={[
|
||||
|
||||
@@ -26,6 +26,9 @@ const PerformanceReport = ({ shouldRender, audits }) => {
|
||||
<Typography
|
||||
variant="body1"
|
||||
mt="auto"
|
||||
sx={{
|
||||
textAlign: "center",
|
||||
}}
|
||||
>
|
||||
{t("pageSpeedDetailsPerformanceReport")}{" "}
|
||||
<Typography
|
||||
|
||||
Reference in New Issue
Block a user