{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/serviceworker-cookbook/issues/108","labels_url":"https://api.github.com/repos/mozilla/serviceworker-cookbook/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/serviceworker-cookbook/issues/108/comments","events_url":"https://api.github.com/repos/mozilla/serviceworker-cookbook/issues/108/events","html_url":"https://github.com/mozilla/serviceworker-cookbook/issues/108","id":117856159,"number":108,"title":"Wrap code (at 80 chars) in sample code?","user":{"login":"awalGarg","id":9100409,"avatar_url":"https://avatars.githubusercontent.com/u/9100409?v=3","gravatar_id":"","url":"https://api.github.com/users/awalGarg","html_url":"https://github.com/awalGarg","followers_url":"https://api.github.com/users/awalGarg/followers","following_url":"https://api.github.com/users/awalGarg/following{/other_user}","gists_url":"https://api.github.com/users/awalGarg/gists{/gist_id}","starred_url":"https://api.github.com/users/awalGarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awalGarg/subscriptions","organizations_url":"https://api.github.com/users/awalGarg/orgs","repos_url":"https://api.github.com/users/awalGarg/repos","events_url":"https://api.github.com/users/awalGarg/events{/privacy}","received_events_url":"https://api.github.com/users/awalGarg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/serviceworker-cookbook/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mozilla/serviceworker-cookbook/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-19T16:51:25Z","updated_at":"2015-11-20T02:43:55Z","closed_at":null,"body":"Heyo! Thanks for the really awesome cookbook :)\r\n\r\nI was wondering if the code samples could be restricted to a specific line width, say 80 chars?\r\n\r\nFor example, https://serviceworke.rs/push-simple_index_doc.html introduces horizontal scrolling on my 1366x768 laptop screen.\r\n\r\nThis isn't a big issue at all, but *if* owners think it would be \"okay\" to have this, I'll be ready with a PR ;-)\r\n\r\n<3, Awal"},"comment":{"url":"https://api.github.com/repos/mozilla/serviceworker-cookbook/issues/comments/158263022","html_url":"https://github.com/mozilla/serviceworker-cookbook/issues/108#issuecomment-158263022","issue_url":"https://api.github.com/repos/mozilla/serviceworker-cookbook/issues/108","id":158263022,"user":{"login":"digitarald","id":8599,"avatar_url":"https://avatars.githubusercontent.com/u/8599?v=3","gravatar_id":"","url":"https://api.github.com/users/digitarald","html_url":"https://github.com/digitarald","followers_url":"https://api.github.com/users/digitarald/followers","following_url":"https://api.github.com/users/digitarald/following{/other_user}","gists_url":"https://api.github.com/users/digitarald/gists{/gist_id}","starred_url":"https://api.github.com/users/digitarald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitarald/subscriptions","organizations_url":"https://api.github.com/users/digitarald/orgs","repos_url":"https://api.github.com/users/digitarald/repos","events_url":"https://api.github.com/users/digitarald/events{/privacy}","received_events_url":"https://api.github.com/users/digitarald/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T02:43:55Z","updated_at":"2015-11-20T02:43:55Z","body":"Throwing in 3 ideas that can be combined:\n\n- make the docs column more narrow to save space, maybe even flexible to\nsome degree with flexbox\n- make the code column overflow auto, so it can me scrolled\nsideways separately from the docs on the right\n- responsive layout that switches to inline style for narrow viewport and\nexpands to columns for wider views\n\nOn Thursday, November 19, 2015, Brendan Dahl <notifications@github.com>\nwrote:\n\n> We could also consider changing to an 'inline' style layout in docco.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/mozilla/serviceworker-cookbook/issues/108#issuecomment-158242375>\n> .\n>\n\n\n-- \nWeb Craftsman | harald@mozilla.com | @digitarald [skype/irc/line] |\n+1-650-963-6612 [wapp/telegram]\n"}}