{"action":"created","issue":{"url":"https://api.github.com/repos/sass/sass/issues/1951","labels_url":"https://api.github.com/repos/sass/sass/issues/1951/labels{/name}","comments_url":"https://api.github.com/repos/sass/sass/issues/1951/comments","events_url":"https://api.github.com/repos/sass/sass/issues/1951/events","html_url":"https://github.com/sass/sass/issues/1951","id":124932191,"number":1951,"title":"[enhancement] using @extend in @media","user":{"login":"jossef","id":1287098,"avatar_url":"https://avatars.githubusercontent.com/u/1287098?v=3","gravatar_id":"","url":"https://api.github.com/users/jossef","html_url":"https://github.com/jossef","followers_url":"https://api.github.com/users/jossef/followers","following_url":"https://api.github.com/users/jossef/following{/other_user}","gists_url":"https://api.github.com/users/jossef/gists{/gist_id}","starred_url":"https://api.github.com/users/jossef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jossef/subscriptions","organizations_url":"https://api.github.com/users/jossef/orgs","repos_url":"https://api.github.com/users/jossef/repos","events_url":"https://api.github.com/users/jossef/events{/privacy}","received_events_url":"https://api.github.com/users/jossef/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-05T09:56:35Z","updated_at":"2016-01-05T13:09:26Z","closed_at":null,"body":"The following scss won't compile,\r\n\r\n```\r\nhtml, body {\r\n  padding: 0;\r\n  margin: 0;\r\n}\r\n\r\n.a4 {\r\n  width: 210mm;\r\n  min-height: 297mm;\r\n}\r\n\r\n@page {\r\n  size: A4;\r\n  margin: 0;\r\n}\r\n\r\n@media screen {\r\n  html, body {\r\n    @extend .a4\r\n  }\r\n\r\n}\r\n```\r\n\r\n    error ... (You may not @extend an outer selector from within @media. You may only @extend selectors within the same directive.\r\n\r\n\r\n![image](https://media.giphy.com/media/1M9fmo1WAFVK0/giphy.gif)\r\n\r\n## As a DX (developer experience) suggestion \r\nplease support that"},"comment":{"url":"https://api.github.com/repos/sass/sass/issues/comments/168993827","html_url":"https://github.com/sass/sass/issues/1951#issuecomment-168993827","issue_url":"https://api.github.com/repos/sass/sass/issues/1951","id":168993827,"user":{"login":"cimmanon","id":2333706,"avatar_url":"https://avatars.githubusercontent.com/u/2333706?v=3","gravatar_id":"","url":"https://api.github.com/users/cimmanon","html_url":"https://github.com/cimmanon","followers_url":"https://api.github.com/users/cimmanon/followers","following_url":"https://api.github.com/users/cimmanon/following{/other_user}","gists_url":"https://api.github.com/users/cimmanon/gists{/gist_id}","starred_url":"https://api.github.com/users/cimmanon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cimmanon/subscriptions","organizations_url":"https://api.github.com/users/cimmanon/orgs","repos_url":"https://api.github.com/users/cimmanon/repos","events_url":"https://api.github.com/users/cimmanon/events{/privacy}","received_events_url":"https://api.github.com/users/cimmanon/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T13:09:26Z","updated_at":"2016-01-05T13:09:26Z","body":"Duplicate of https://github.com/sass/sass/issues/1050"}}