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

Runtime error - Can't use 'null' voor css variable with Bootstrap 5.2.0 #56

Open
htodep opened this issue Jul 26, 2022 · 0 comments
Open

Comments

@htodep
Copy link

htodep commented Jul 26, 2022

The problem

De SCSS file is compiling but not minifying. Gives runtime errors when i check the CSS file

When I open the css file in browser i'm seeing this error(multiple, but this is 1 of them):
run-time error CSS1036: Expected expression, found ';' */

When i look up the rule I can see it's a CSS var that is empty:
--bs-tooltip-margin: ;

Now i give every css var that's empty a value in SCSS, so i fixed the minifying issue. But these values are from Bootstrap and i don't want to change empty Bootstrap vars when i don't even use them.

What i like to see being fixed

That empty values are accepted and not giving any errors

I'm using Bootstrap 5.2.0 and the latest WebOptimizer packages:
Core: 3.0.368
Sass: 3.0.91

How can I fix this and is there a setting for allowing empty values?

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

1 participant