{"action":"created","issue":{"url":"https://api.github.com/repos/stylus/stylus/issues/2164","repository_url":"https://api.github.com/repos/stylus/stylus","labels_url":"https://api.github.com/repos/stylus/stylus/issues/2164/labels{/name}","comments_url":"https://api.github.com/repos/stylus/stylus/issues/2164/comments","events_url":"https://api.github.com/repos/stylus/stylus/issues/2164/events","html_url":"https://github.com/stylus/stylus/issues/2164","id":148112220,"number":2164,"title":"unexpected \"}\"  in media query","user":{"login":"dominiklenne","id":3583902,"avatar_url":"https://avatars.githubusercontent.com/u/3583902?v=3","gravatar_id":"","url":"https://api.github.com/users/dominiklenne","html_url":"https://github.com/dominiklenne","followers_url":"https://api.github.com/users/dominiklenne/followers","following_url":"https://api.github.com/users/dominiklenne/following{/other_user}","gists_url":"https://api.github.com/users/dominiklenne/gists{/gist_id}","starred_url":"https://api.github.com/users/dominiklenne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominiklenne/subscriptions","organizations_url":"https://api.github.com/users/dominiklenne/orgs","repos_url":"https://api.github.com/users/dominiklenne/repos","events_url":"https://api.github.com/users/dominiklenne/events{/privacy}","received_events_url":"https://api.github.com/users/dominiklenne/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-13T16:20:32Z","updated_at":"2016-04-13T16:28:27Z","closed_at":"2016-04-13T16:28:27Z","body":"I tried the following code:\r\n\r\n@media screen and (max-width: 550px) {\r\n  #termine\r\n    td        { display: block; width: 100%; }\r\n}\r\n\r\nIt contains no tabs, no trailing spaces. the \"td ...\" is indented with 2 spaces.\r\n\r\nStylus crashes on this, but runs smoothly when i just write all in one line.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/stylus/stylus/issues/comments/209532286","html_url":"https://github.com/stylus/stylus/issues/2164#issuecomment-209532286","issue_url":"https://api.github.com/repos/stylus/stylus/issues/2164","id":209532286,"user":{"login":"Panya","id":235637,"avatar_url":"https://avatars.githubusercontent.com/u/235637?v=3","gravatar_id":"","url":"https://api.github.com/users/Panya","html_url":"https://github.com/Panya","followers_url":"https://api.github.com/users/Panya/followers","following_url":"https://api.github.com/users/Panya/following{/other_user}","gists_url":"https://api.github.com/users/Panya/gists{/gist_id}","starred_url":"https://api.github.com/users/Panya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Panya/subscriptions","organizations_url":"https://api.github.com/users/Panya/orgs","repos_url":"https://api.github.com/users/Panya/repos","events_url":"https://api.github.com/users/Panya/events{/privacy}","received_events_url":"https://api.github.com/users/Panya/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T16:28:27Z","updated_at":"2016-04-13T16:28:27Z","body":"You can't mix indent and bracket nested blocks in a block. You can write:\r\n```styl\r\n@media screen and (max-width: 550px) {\r\n  #termine {\r\n    td { display: block; width: 100%; }\r\n  }\r\n}\r\n\r\nbody\r\n  color: red\r\n```\r\n\r\nOR:\r\n```styl\r\n@media screen and (max-width: 550px)\r\n  #termine\r\n    td\r\n      display: block; width: 100%\r\n\r\nbody {\r\n  color: red\r\n}\r\n```\r\n\r\nBut you cannot write:\r\n```styl\r\n@media screen and (max-width: 550px) {\r\n  #termine\r\n    td\r\n      display: block; width: 100%\r\n}\r\n```"}}