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

Sass compile error Css3 min() #809

Closed
romarioliveira25 opened this issue Mar 19, 2022 · 2 comments
Closed

Sass compile error Css3 min() #809

romarioliveira25 opened this issue Mar 19, 2022 · 2 comments

Comments

@romarioliveira25
Copy link
Contributor

Jodit Version: 3.16.1

Browser: Chrome
OS: Linux
Is React App: False

Code
No need. Issue is about conflict between CSS3 function and SASS.

The file preview.less is using css min() and when compile SASS importing jodit styles occurs the error SassC::SyntaxError: Internal Error: Incompatible units: 'px' and '%'.

So, to fix it, how CSS3 is not case sensitive could be used something like Min() instead of min() preventing SASS compile errors.

Expected behavior:

Actual behavior:

xdan added a commit that referenced this issue Mar 27, 2022
@xdan
Copy link
Owner

xdan commented Mar 27, 2022

Try now please

@romarioliveira25
Copy link
Contributor Author

Fixed! Thanks.

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