Replies: 1 comment
-
ToastContainer is positioned relative to the window using CSS - specifically The how to style page of the docs shows several ways you could add your own CSS to overwrite it: You can also use the minimal CSS instead and build out your on styles completely (https://fkhadra.github.io/react-toastify/how-to-style#styling-from-scratch) though that will require more effort. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all.
I am starting to use
react-toastify
, which works like magic. The only thing I could not figure out is how to mount the toast (viaToastContainer
I guess?) to show up inside a div, and not relative to the screen.Beta Was this translation helpful? Give feedback.
All reactions