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

Add quotes in background-image urls #5

Merged
merged 1 commit into from Nov 12, 2020

Conversation

hanneskuettner
Copy link
Contributor

In the generated CSS the SVG data urls are not quoted inside url() this leads to them not actually showing up (in Chrome at least). This is no problem on the demo site since clean-css fixes the urls and adds quotes.

Also W3 recommends using quotes in urls.

@vercel
Copy link

vercel bot commented Nov 12, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tailwindlabs/tailwindcss-forms/176lu9ope
✅ Preview: https://tailwindcss-forms-git-fix-background-urls.tailwindlabs.vercel.app

@adamwathan
Copy link
Member

Good catch thank you!

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

2 participants