You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
& {...} statement is an ordinal ruleset (just like div {...} for example), and as an ordinal ruleset it should not expose its content (variables and mixins) to an outer scope (see #2072 for more details).
There're other ways to achieve conditional variable definition, but to suggest something specific we need you to provide a bit more specific example of your use-case.
It's not possible to override @variables with a 'when' statement, like this for example :
I tried all kinds of solutions:
http://stackoverflow.com/questions/31378687/less-when-statement-without-classname
Is this a bug?
The text was updated successfully, but these errors were encountered: