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

Fix/greedy style inclusion #34

Merged
merged 2 commits into from Feb 29, 2024
Merged

Fix/greedy style inclusion #34

merged 2 commits into from Feb 29, 2024

Conversation

circlecube
Copy link
Member

The built styles are pulling in base tailwind styles which are targeting basic elements like button. This was making all buttons that didn't have a defined background color transparent and effectively disappearing. We noticed it on the wonder blocks button.

This PR removes the base tailwind styles from the built files. Tested and the pre-publish when coming soon is active modal still displays fine without these base styles.

Ideally, we can follow up and use some existing or core classes for styling so this modal doesn't need its own stylesheet. I bet it could be done fairly simply, but in order to get this out quickly here's a quick fix.

@circlecube circlecube merged commit 335bfe8 into main Feb 29, 2024
6 checks passed
@circlecube circlecube deleted the fix/greedy-style-inclusion branch February 29, 2024 19:55
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

Successfully merging this pull request may close these issues.

None yet

3 participants