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

Generated CSS Background Property Missing % #13

Open
bradvin opened this issue Feb 18, 2019 · 1 comment
Open

Generated CSS Background Property Missing % #13

bradvin opened this issue Feb 18, 2019 · 1 comment

Comments

@bradvin
Copy link

bradvin commented Feb 18, 2019

hey guys - awesome project.

I noticed an issue with the generated CSS for the background property.

example, for XPro2, the generated CSS for the background is:

background: -webkit-radial-gradient(50% 50%, circle closest-corner, rgba(224, 231, 230, 1) 40, rgba(43, 42, 161, 0.6));
background: radial-gradient(50% 50%, circle closest-corner, rgba(224, 231, 230, 1) 40, rgba(43, 42, 161, 0.6));

It should be:

  background: -webkit-radial-gradient(50% 50%, circle closest-corner, rgba(224, 231, 230, 1) 40%, rgba(43, 42, 161, 0.6));
  background: radial-gradient(50% 50%, circle closest-corner, rgba(224, 231, 230, 1) 40%, rgba(43, 42, 161, 0.6));

The % was missing after the 40, which results in invalid css

@acupoftee
Copy link

Thank you for sharing. I opened PR #15 for the issue!

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

No branches or pull requests

2 participants