Open ParkerGibbons opened 7 months ago
this also happens with leaving all
I am using custom styles like this and have not noticed this. maybe try to remove a class at a time to see if something specific is causing this.
Also have you been able to style to the buttons with this method? I have not and have a discussion open but with no response. If you could try and let me know I would really appreciate it. Thanks
Describe the bug
I've run into this with a few different ways that I've tried to add custom styling to the default toasts. In a nutshell, the default ones seem to be doing something to hide the toast content when shown in the Toaster stack. But when I use toastOptions to apply styles to the toasts, the toasts below the top one in the Toaster stack show upside down or clipping content in weird ways.
How can I avoid this behavior?
Default dark theme toasts:
https://github.com/wobsoriano/svelte-sonner/assets/960257/6101a14a-0519-4d44-aaae-cd81d2b3a31c
Styled toasts via toastOptions:
https://github.com/wobsoriano/svelte-sonner/assets/960257/f8c95f9b-b5f1-45f0-a1fa-57215388ea13
Reproduction
see attached videos
Logs
No response
System Info
Severity
annoyance