We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I noticed this Headless / TailwindCSS example from the docs, uses this class for the parent div:
<div className="flex rounded-lg bg-white shadow-lg ring-1 ring-black/5 w-full md:max-w-[364px] items-center p-4">
However, it seems counter intuitive, because the parent div doesnt sets itself as 100% in this case:
sonner/src/styles.css
Lines 85 to 97 in 7967502
So in order of full-width to work in the custom component we have to:
<Toaster position="bottom-center" toastOptions={{ className: 'w-full', }} />
Is this undocumented? Any specific behind it @emilkowalski ? Shouldn't width 100% be added to data-sonner-toast?
The text was updated successfully, but these errors were encountered:
Update styles.css
7403ff0
Fixes: emilkowalski#630
Successfully merging a pull request may close this issue.
I noticed this Headless / TailwindCSS example from the docs, uses this class for the parent div:
However, it seems counter intuitive, because the parent div doesnt sets itself as 100% in this case:
sonner/src/styles.css
Lines 85 to 97 in 7967502
So in order of full-width to work in the custom component we have to:
Is this undocumented? Any specific behind it @emilkowalski ? Shouldn't width 100% be added to data-sonner-toast?
The text was updated successfully, but these errors were encountered: