jonassiewertsen / statamic-oh-dear

A Oh Dear integration for Statamic v3. Check your monitored uptime, SSL certificates, mixed content and broken links easily from your Statamic control panel.
7 stars 4 forks source link

Broken styling after Statamic 4 Upgrade #12

Open lukasleitsch opened 1 year ago

lukasleitsch commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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.