We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please consider the following SCSS code
$sidebar-width: 300px; .main { width: calc(100% - $sidebar-width); }
that compiles into the following incorrect CSS...
.main { width: calc(100% - $sidebar-width); }
whereas the expected result is:
.main { width: calc(100% - 300px); }
$ sass --version Sass 3.2.12 (Media Mark)
The text was updated successfully, but these errors were encountered:
You need to escape the variable within your parens
.main { width: calc(100% - #{$sidebar-width}); }
That should return your expected result.
Sorry, something went wrong.
Thanks a lot
No branches or pull requests
Please consider the following SCSS code
that compiles into the following incorrect CSS...
whereas the expected result is:
The text was updated successfully, but these errors were encountered: