{"action":"opened","issue":{"url":"https://api.github.com/repos/thoughtbot/neat/issues/540","repository_url":"https://api.github.com/repos/thoughtbot/neat","labels_url":"https://api.github.com/repos/thoughtbot/neat/issues/540/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/neat/issues/540/comments","events_url":"https://api.github.com/repos/thoughtbot/neat/issues/540/events","html_url":"https://github.com/thoughtbot/neat/issues/540","id":207853143,"number":540,"title":"'grid-column', 'grid-media' combination should be more DRY","user":{"login":"cewen","id":1244965,"avatar_url":"https://avatars.githubusercontent.com/u/1244965?v=3","gravatar_id":"","url":"https://api.github.com/users/cewen","html_url":"https://github.com/cewen","followers_url":"https://api.github.com/users/cewen/followers","following_url":"https://api.github.com/users/cewen/following{/other_user}","gists_url":"https://api.github.com/users/cewen/gists{/gist_id}","starred_url":"https://api.github.com/users/cewen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cewen/subscriptions","organizations_url":"https://api.github.com/users/cewen/orgs","repos_url":"https://api.github.com/users/cewen/repos","events_url":"https://api.github.com/users/cewen/events{/privacy}","received_events_url":"https://api.github.com/users/cewen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-15T16:24:01Z","updated_at":"2017-02-15T16:24:01Z","closed_at":null,"body":"How can I get `.item` to inherit the correct width/gutter for 1 column on all of my established breakpoints (each with a custom grid) without having to repeat `grid-media` and `grid-column(1)` for each? It seems like this repetition should be unnecessary.\r\n\r\nCustom grid settings and `.item` code below:\r\n\r\n  $neat-grid: (\r\n    columns: 12,\r\n    gutter: 2%\r\n  );\r\n\r\n  $grid-m: (\r\n    columns: 12,\r\n    gutter: 4%\r\n    media: 760px\r\n  );\r\n\r\n  $grid-l: (\r\n    columns: 12,\r\n    gutter: 40px,\r\n    media: 1000px\r\n  );\r\n\r\n\r\n  .item {\r\n    @include grid-column(1);\r\n\r\n    @include grid-media($grid-m) {\r\n      @include grid-column(1);\r\n    }\r\n\r\n    @include grid-media($grid-l) {\r\n      @include grid-column(1);\r\n    }\r\n  }"}}
{"actor":{"display_login":"cewen"}}