-
Notifications
You must be signed in to change notification settings - Fork 132
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
Postcss8 loader error on svg core styles.css #341
Comments
@K-zimm can you provide a reproducible test case for this? |
I got the same issue while upgrading fontawesome-svg-core from 1.2.36 to 1.3.0 JabRef/JabRefOnline#837. .fa-li {
left: calc(var(--fa-li-width, 2em) * -1);
position: absolute;
text-align: center;
width: var(--fa-li-width, 2em);
line-height: inherit; } |
I also get the same issue. Having a lot of trouble getting past this. |
That's syntactically correct as far as I know (multiplying by |
@K-zimm Hi ! We've got the same error here, how did you solved this issue ? We got no clue how to fix this. |
I did a bit of digging and it seems like I guess usually |
That being said, what worked for me was to replace the offending line in
(i.e. move the minus 1 multiplication to the front). |
I'm going to close this as it's not a bug with this library. |
Running in nuxt with postcss8.
It is having trouble with one particular line. When I commend it out build completes fine and app works great. Seems that it doesn't like the calc() function on line 202 of styles.css in fontawesome-svg-core The parser cries about the -1.
The text was updated successfully, but these errors were encountered: