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
Hello,
I encountered an issue with the following code:
mixin h(level, size = xl, align, margin = true, classes = "") class= ((size === "xxl" || size === "xl" || size === "l") && margin) ? "mb-s mb-sS@s" : false
I expected to get:
class=mb-s mb-sS@s
But I actually get:
class=false
Thanks!
The text was updated successfully, but these errors were encountered:
Indeed it's an issue on operator precedence (=== vs ||) on our side, you can use:
===
||
mixin h(level, size = "xl", align = null, margin = true, classes = "") a(class=(((size === "xxl") || (size === "xl") || (size === "l")) && margin) ? "mb-s mb-sS@s" : false) +h
Sorry, something went wrong.
No branches or pull requests
Hello,
I encountered an issue with the following code:
I expected to get:
But I actually get:
Thanks!
The text was updated successfully, but these errors were encountered: