From c5870b96d58ad8235f1786cbf56aff12c2f4e161 Mon Sep 17 00:00:00 2001 From: shanika Jayawardane Date: Wed, 25 Jun 2025 23:19:29 -0600 Subject: [PATCH] Fix PageSpeed performance report alignment - Center pie chart and text --- .../PageSpeed/Details/Components/Charts/PieChart.jsx | 10 +++++++++- .../Details/Components/PerformanceReport/index.jsx | 3 +++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/client/src/Pages/PageSpeed/Details/Components/Charts/PieChart.jsx b/client/src/Pages/PageSpeed/Details/Components/Charts/PieChart.jsx index c9204c38a..eec075684 100644 --- a/client/src/Pages/PageSpeed/Details/Components/Charts/PieChart.jsx +++ b/client/src/Pages/PageSpeed/Details/Components/Charts/PieChart.jsx @@ -221,7 +221,15 @@ const PieChart = ({ audits }) => { const colorMap = getColors(performance); return ( - setExpand(false)}> + setExpand(false)} + sx={{ + display: "flex", + justifyContent: "center", + alignItems: "center", + width: "100%", + }} + > {expand ? ( { {t("pageSpeedDetailsPerformanceReport")}{" "}