{"action":"opened","issue":{"url":"https://api.github.com/repos/less/less.js/issues/2650","labels_url":"https://api.github.com/repos/less/less.js/issues/2650/labels{/name}","comments_url":"https://api.github.com/repos/less/less.js/issues/2650/comments","events_url":"https://api.github.com/repos/less/less.js/issues/2650/events","html_url":"https://github.com/less/less.js/issues/2650","id":98703165,"number":2650,"title":"Variable doesn't evaluate when used with @media","user":{"login":"petrbrzek","id":879564,"avatar_url":"https://avatars.githubusercontent.com/u/879564?v=3","gravatar_id":"","url":"https://api.github.com/users/petrbrzek","html_url":"https://github.com/petrbrzek","followers_url":"https://api.github.com/users/petrbrzek/followers","following_url":"https://api.github.com/users/petrbrzek/following{/other_user}","gists_url":"https://api.github.com/users/petrbrzek/gists{/gist_id}","starred_url":"https://api.github.com/users/petrbrzek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrbrzek/subscriptions","organizations_url":"https://api.github.com/users/petrbrzek/orgs","repos_url":"https://api.github.com/users/petrbrzek/repos","events_url":"https://api.github.com/users/petrbrzek/events{/privacy}","received_events_url":"https://api.github.com/users/petrbrzek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-03T09:11:42Z","updated_at":"2015-08-03T09:11:42Z","closed_at":null,"body":"Less version: 2. 5. 1.\r\n\r\nExample:\r\n\r\n```\r\n@max-columns: 4;\r\n@tile-size: 300px;\r\n@tile-margin: 20px;\r\n@content-container-max-width: (@tile-size + @tile-margin * 2) * @max-columns;\r\n\r\n\r\n\r\n.project-manager__content-container {\r\n  color: blue;\r\n  width: @content-container-max-width;\r\n\r\n  @media (min-width: @content-container-max-width) {\r\n    color: red;\r\n  }\r\n}\r\n```\r\n\r\nResult:\r\n\r\n```\r\n.project-manager__content-container {\r\n  color: blue;\r\n  width: 1360px;\r\n}\r\n@media (min-width: (300px + 20px * 2) * 4) {\r\n  .project-manager__content-container {\r\n    color: red;\r\n  }\r\n}\r\n```"}}