Tailwind CSS Conflicts in Laravel Nova Tool – Unexpected Styling Issues #6800
Unanswered
tomasuruisu
asked this question in
Ideas & Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Version: Nova v5.4.1 (Silver Surfer)
Since Nova does not expose all Tailwind CSS classes for custom tools, I integrated Tailwind CSS into my custom tool to address this limitation.
While this resolved issues related to missing classes within my tool, it introduced unintended styling conflicts in Nova itself. The primary issues involve color inconsistencies, breakpoint misalignment, and dark mode-specific class conflicts.
Although prefixing Tailwind classes as recommended in the documentation is a temporary workaround, manually prefixing every class across my project—which currently includes three tools—is not a scalable solution.
To address this, I propose the following improvements:
Would love to hear thoughts on potential solutions!
Beta Was this translation helpful? Give feedback.
All reactions