dotless/dotless — Issue #105: Variables in media queries inside less files
Author: WouterBos
Created: 2011-12-04 08:47:42+00:00
State: open

The line

@gp_mobileScreenWidth: 960px;
@media screen and (max-width: @gp_mobileScreenWidth) {}

Will in less render as:

@media screen and (max-width: @gp_mobileScreenWidth) {}

But it should render:

@media screen and (max-width: 960px) {}

So the value of the variable is not printed.