From 51d971929392f594d734f1a44a5819ae7cec58fb Mon Sep 17 00:00:00 2001 From: Vishnu Sreekumaran Nair <200557136@student.georgianc.on.ca> Date: Wed, 7 May 2025 15:45:09 -0400 Subject: [PATCH] update the layout structure to improve UI --- client/src/Pages/Settings/index.jsx | 72 +++++++++++++---------------- 1 file changed, 33 insertions(+), 39 deletions(-) diff --git a/client/src/Pages/Settings/index.jsx b/client/src/Pages/Settings/index.jsx index 8328dafb3..6da0ac68a 100644 --- a/client/src/Pages/Settings/index.jsx +++ b/client/src/Pages/Settings/index.jsx @@ -314,47 +314,41 @@ const Settings = () => { )} - - {t("pageSpeedApiKeyFieldTitle")} - - {t("pageSpeedApiKeyFieldDescription")} - - - - - - - ) - } + + {t("pageSpeedApiKeyFieldTitle")} + + {t("pageSpeedApiKeyFieldDescription")} + + + + - {isApiKeySet && ( - - {t("pageSpeedApiKeyFieldResetLabel")} - - )} - - {isApiKeySet && ( - - )} - + ) + } + /> + {isApiKeySet && ( + + {t("pageSpeedApiKeyFieldResetLabel")} + + )} + {isAdmin && (