From 6584d05c9d1516f24f1be4246703f87f24bad1ad Mon Sep 17 00:00:00 2001 From: mialana <96770662+mialana@users.noreply.github.com> Date: Sat, 21 Oct 2023 14:24:24 -0400 Subject: [PATCH] toast position and font --- frontend/plan/pages/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/plan/pages/index.tsx b/frontend/plan/pages/index.tsx index f44c2d661..88befeeed 100644 --- a/frontend/plan/pages/index.tsx +++ b/frontend/plan/pages/index.tsx @@ -86,7 +86,7 @@ const StyledToast = styled(ToastContainer)` background-color: white; } .Toastify__toast-body { - font-family: "Gill Sans", sans-serif; + font-family: "BlinkMacSystemFont"; color: black; font-size: 1.2rem; } @@ -102,11 +102,11 @@ if (process.env.NODE_ENV === "development") { export function showToast(text: string, error: boolean) { if (error) { toast.error(text, { - position: toast.POSITION.TOP_CENTER, + position: toast.POSITION.TOP_RIGHT, }); } else { toast.success(text, { - position: toast.POSITION.TOP_CENTER, + position: toast.POSITION.TOP_RIGHT, }); } }