{"action":"created","issue":{"url":"https://api.github.com/repos/sass/sass/issues/2010","repository_url":"https://api.github.com/repos/sass/sass","labels_url":"https://api.github.com/repos/sass/sass/issues/2010/labels{/name}","comments_url":"https://api.github.com/repos/sass/sass/issues/2010/comments","events_url":"https://api.github.com/repos/sass/sass/issues/2010/events","html_url":"https://github.com/sass/sass/issues/2010","id":138579363,"number":2010,"title":"Output indentation levels","user":{"login":"Jujucristine","id":10357931,"avatar_url":"https://avatars.githubusercontent.com/u/10357931?v=3","gravatar_id":"","url":"https://api.github.com/users/Jujucristine","html_url":"https://github.com/Jujucristine","followers_url":"https://api.github.com/users/Jujucristine/followers","following_url":"https://api.github.com/users/Jujucristine/following{/other_user}","gists_url":"https://api.github.com/users/Jujucristine/gists{/gist_id}","starred_url":"https://api.github.com/users/Jujucristine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jujucristine/subscriptions","organizations_url":"https://api.github.com/users/Jujucristine/orgs","repos_url":"https://api.github.com/users/Jujucristine/repos","events_url":"https://api.github.com/users/Jujucristine/events{/privacy}","received_events_url":"https://api.github.com/users/Jujucristine/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sass/sass/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/sass/sass/labels/Help%20Wanted","name":"Help Wanted","color":"009800"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-03-04T20:32:25Z","updated_at":"2016-08-31T21:51:07Z","closed_at":"2016-08-31T21:23:23Z","body":"In non-compressed output modes, the indenting seems to get all messed up if you're using nesting in the sass file. You might get something like this in your result:\r\n\r\n```\r\n.modal.caption-edit {\r\n\t\tmax-width: 450px; }\r\n\r\n.modal.caption-edit textarea {\r\n\t\t\tmax-width: 360px; }\r\n```\r\n\r\nWhen it should all be outputted like so:\r\n\r\n```\r\n.modal.caption-edit {\r\n\tmax-width: 450px; }\r\n\r\n.modal.caption-edit textarea {\r\n\tmax-width: 360px; }\r\n```\r\n\r\nThere's also another indenting/spacing problem with these output modes in which any nested sass returns without a new line between each selector. This is a problem with the \"trailer\" \\n in the to_css.rb file. I have it fixed on my local files but it should probably be fixed in the official build."},"comment":{"url":"https://api.github.com/repos/sass/sass/issues/comments/243913917","html_url":"https://github.com/sass/sass/issues/2010#issuecomment-243913917","issue_url":"https://api.github.com/repos/sass/sass/issues/2010","id":243913917,"user":{"login":"chriseppstein","id":1839,"avatar_url":"https://avatars.githubusercontent.com/u/1839?v=3","gravatar_id":"","url":"https://api.github.com/users/chriseppstein","html_url":"https://github.com/chriseppstein","followers_url":"https://api.github.com/users/chriseppstein/followers","following_url":"https://api.github.com/users/chriseppstein/following{/other_user}","gists_url":"https://api.github.com/users/chriseppstein/gists{/gist_id}","starred_url":"https://api.github.com/users/chriseppstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriseppstein/subscriptions","organizations_url":"https://api.github.com/users/chriseppstein/orgs","repos_url":"https://api.github.com/users/chriseppstein/repos","events_url":"https://api.github.com/users/chriseppstein/events{/privacy}","received_events_url":"https://api.github.com/users/chriseppstein/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T21:51:07Z","updated_at":"2016-08-31T21:51:07Z","body":"@Jujucristine I typed out the screenshot from above:\r\n\r\n```scss\r\n.modal {\r\n  .caption-edit {\r\n    max-width: 450px;\r\n    textarea {\r\n      max-width: 360px;\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nAnd it compiles to this:\r\n\r\n```css\r\n.modal .caption-edit {\r\n  max-width: 450px; }\r\n  .modal .caption-edit textarea {\r\n    max-width: 360px; }\r\n```\r\n\r\nWhich is what is expected and is not what you initially reported. I don't have an actual source file to use to attempt to reproduce this issue, so it's closed. Please provide a reproducible test case."}}
{"actor":{"display_login":"chriseppstein"}}