Skip to content

Commit

Permalink
toast position and font
Browse files Browse the repository at this point in the history
  • Loading branch information
mialana committed Oct 21, 2023
1 parent 40563b6 commit 6584d05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/plan/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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,
});
}
}
Expand Down

0 comments on commit 6584d05

Please sign in to comment.