max(), min() not working properly
timharek opened this issue · comments
Tim Hårek Andreassen commented
I'm having issues with using max()
and min()
.
I have the following code:
width: min(760px, 70%)
Then I get the following compile error:
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/main.scss':
Internal Error: Incompatible units: '%' and 'px'.
Error: Internal Error: Incompatible units: '%' and 'px'.
When I try to do the same with pure CSS it works fine.
Sampath Sukesh Ravolaparthi commented
I believe the issue is with SASS and not Jekyll. Check this out and see if it helps : sass/node-sass#2815
Tim Hårek Andreassen commented
Ah, alright! Thank you, I will use the workaround suggested in that thread :)