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

Broken styling after Statamic 4 Upgrade #12

Open
lukasleitsch opened this issue May 31, 2023 · 2 comments
Open

Broken styling after Statamic 4 Upgrade #12

lukasleitsch opened this issue May 31, 2023 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@lukasleitsch
Copy link
Contributor

In Statamic 4 Tailwind CSS was upgraded from 1 to 3.

Before:

image

After:

image

Beside the widget, all pages are effected.

The package should provide custom css files to be independent of the cp css files. I guess Statamic uses a custom Tailwind CSS build, therefore not all Tailwind classes can be used.

If I find the time, I'll create a PR.

@jonassiewertsen
Copy link
Owner

Thanks for reporting. Yes, the Tailwind update will be the reason why it's broken!

I don't have the time at the moment to fix this quickly. A PR would be very welcome.

@jonassiewertsen jonassiewertsen added the help wanted Extra attention is needed label May 31, 2023
@jonassiewertsen
Copy link
Owner

Relying on Statamics Tailwind classes is fine, as they should cover everything and we don't need to create a custom one.

That the CSS breaks with a major update is ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants