Skip to content
New issue

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

Toast shadow not visible #310

Open
ogzcode opened this issue Jul 25, 2024 · 2 comments
Open

Toast shadow not visible #310

ogzcode opened this issue Jul 25, 2024 · 2 comments

Comments

@ogzcode
Copy link
Contributor

ogzcode commented Jul 25, 2024

Toast should normally look like the one on the Flowbite website, but unfortunately the shadow does not appear.

This is what it looks like in the doc page:

image

I examined the code a little and I think there is a shadow in the code below, but it does not work. I don't understand why it works. I upgraded Tailwind to the latest version and there was no change.

const defaultWrapperClasses = 'flex w-full max-w-xs p-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800'

I tried shadow-md and it worked, I can do this with PR if you want

For shadow-md:

image

@ogzcode
Copy link
Contributor Author

ogzcode commented Aug 2, 2024

Hello, have you looked at this issue? What could be causing the problem or is my solution suitable?
@Sqrcz @cogor

@Sqrcz
Copy link
Collaborator

Sqrcz commented Aug 2, 2024

Not yet... ;)

I've started going one by one through PRs and I'll be continuing today.

I'll let you know this evening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants