Skip to content

Commit

Permalink
fix: toast on mobile on top to avoid hiding keypad
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhkeshan committed Dec 20, 2024
1 parent 2162acd commit f3bacac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ createRoot(document.getElementById("root")!).render(
error: {
icon: <CustomErrorIcon />,
},
position: "bottom-center",
position: window.innerWidth <= 768 ? "top-center" : "bottom-center",
}}
/>
<App />
Expand Down

0 comments on commit f3bacac

Please sign in to comment.