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

Muuri Doesn't Work on Tailwindcss Classe #562

Open
MdShijanAli opened this issue Nov 5, 2023 · 2 comments
Open

Muuri Doesn't Work on Tailwindcss Classe #562

MdShijanAli opened this issue Nov 5, 2023 · 2 comments

Comments

@MdShijanAli
Copy link

You need to update Muuri because it doesn't work with Tailwindcss Classes. It's Very Big Problem to mak layout and design

@ogrotten
Copy link

ogrotten commented Jan 8, 2024

You need to update Muuri because it doesn't work with Tailwindcss Classes. It's Very Big Problem to mak layout and design

It works fine along-side tailwind. Elements keep their classes, and tailwind works as expected.

The REAL thing that might be a problem for you is the multiple layers of elements required for each item in the muuri grid. It's mind bending with multiple layers of stuff moving around.

Speaking of which, if you're having a problem with Muuri.grid vs tailwind .grid, then rename the element attribute that muuri uses to id where it's supposed to go. I personally made it <div id="Muuri" /> Which i'm not sure why isn't used as default to begin with, but it's easy to change.

@MdShijanAli
Copy link
Author

Thanks

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

No branches or pull requests

2 participants