{"action":"closed","number":21,"pull_request":{"url":"https://api.github.com/repos/alphagov/tech-docs-template/pulls/21","id":96294185,"html_url":"https://github.com/alphagov/tech-docs-template/pull/21","diff_url":"https://github.com/alphagov/tech-docs-template/pull/21.diff","patch_url":"https://github.com/alphagov/tech-docs-template/pull/21.patch","issue_url":"https://api.github.com/repos/alphagov/tech-docs-template/issues/21","number":21,"state":"closed","locked":false,"title":"Add a max-width to images","user":{"login":"mcmillan","id":1315466,"avatar_url":"https://avatars.githubusercontent.com/u/1315466?v=3","gravatar_id":"","url":"https://api.github.com/users/mcmillan","html_url":"https://github.com/mcmillan","followers_url":"https://api.github.com/users/mcmillan/followers","following_url":"https://api.github.com/users/mcmillan/following{/other_user}","gists_url":"https://api.github.com/users/mcmillan/gists{/gist_id}","starred_url":"https://api.github.com/users/mcmillan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcmillan/subscriptions","organizations_url":"https://api.github.com/users/mcmillan/orgs","repos_url":"https://api.github.com/users/mcmillan/repos","events_url":"https://api.github.com/users/mcmillan/events{/privacy}","received_events_url":"https://api.github.com/users/mcmillan/received_events","type":"User","site_admin":false},"body":"At the moment, an image inserted into the tech docs will be rendered at\r\nwhatever resolution it's supplied in. This is somewhat far from ideal,\r\nas a massive image could end up breaking the page in unpleasant ways.\r\n\r\nThis adds a max-width of 100% to all images inside the technical\r\ndocumentation container to ensure we stop anything overflowing it.\r\n\r\nBefore:\r\n![screen shot 2016-12-02 at 14 58 19](https://cloud.githubusercontent.com/assets/1315466/20838361/1bbe4306-b8a0-11e6-88da-5a3d9e5c219a.png)\r\n\r\nAfter:\r\n![screen shot 2016-12-02 at 14 58 37](https://cloud.githubusercontent.com/assets/1315466/20838367/1ffff766-b8a0-11e6-8235-ef621afb3abb.png)\r\n\r\n","created_at":"2016-12-02T15:00:36Z","updated_at":"2016-12-02T15:18:49Z","closed_at":"2016-12-02T15:18:49Z","merged_at":"2016-12-02T15:18:48Z","merge_commit_sha":"d3ef43029aafe012f0ec579b6b5ddd1dac7cbaf3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/tech-docs-template/pulls/21/commits","review_comments_url":"https://api.github.com/repos/alphagov/tech-docs-template/pulls/21/comments","review_comment_url":"https://api.github.com/repos/alphagov/tech-docs-template/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/tech-docs-template/issues/21/comments","statuses_url":"https://api.github.com/repos/alphagov/tech-docs-template/statuses/f0dc8075e58d6ba95ca270ad70370513c555639b","head":{"label":"alphagov:image-max-width","ref":"image-max-width","sha":"f0dc8075e58d6ba95ca270ad70370513c555639b","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":72197505,"name":"tech-docs-template","full_name":"alphagov/tech-docs-template","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/tech-docs-template","description":null,"fork":false,"url":"https://api.github.com/repos/alphagov/tech-docs-template","forks_url":"https://api.github.com/repos/alphagov/tech-docs-template/forks","keys_url":"https://api.github.com/repos/alphagov/tech-docs-template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/tech-docs-template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/tech-docs-template/teams","hooks_url":"https://api.github.com/repos/alphagov/tech-docs-template/hooks","issue_events_url":"https://api.github.com/repos/alphagov/tech-docs-template/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/tech-docs-template/events","assignees_url":"https://api.github.com/repos/alphagov/tech-docs-template/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/tech-docs-template/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/tech-docs-template/tags","blobs_url":"https://api.github.com/repos/alphagov/tech-docs-template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/tech-docs-template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/tech-docs-template/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/tech-docs-template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/tech-docs-template/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/tech-docs-template/languages","stargazers_url":"https://api.github.com/repos/alphagov/tech-docs-template/stargazers","contributors_url":"https://api.github.com/repos/alphagov/tech-docs-template/contributors","subscribers_url":"https://api.github.com/repos/alphagov/tech-docs-template/subscribers","subscription_url":"https://api.github.com/repos/alphagov/tech-docs-template/subscription","commits_url":"https://api.github.com/repos/alphagov/tech-docs-template/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/tech-docs-template/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/tech-docs-template/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/tech-docs-template/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/tech-docs-template/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/tech-docs-template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/tech-docs-template/merges","archive_url":"https://api.github.com/repos/alphagov/tech-docs-template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/tech-docs-template/downloads","issues_url":"https://api.github.com/repos/alphagov/tech-docs-template/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/tech-docs-template/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/tech-docs-template/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/tech-docs-template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/tech-docs-template/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/tech-docs-template/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/tech-docs-template/deployments","created_at":"2016-10-28T10:16:46Z","updated_at":"2016-11-23T13:23:09Z","pushed_at":"2016-12-02T15:18:48Z","git_url":"git://github.com/alphagov/tech-docs-template.git","ssh_url":"git@github.com:alphagov/tech-docs-template.git","clone_url":"https://github.com/alphagov/tech-docs-template.git","svn_url":"https://github.com/alphagov/tech-docs-template","homepage":null,"size":381,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"89188e79c736f64fbf8b5daf8e51628cab891156","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":72197505,"name":"tech-docs-template","full_name":"alphagov/tech-docs-template","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/tech-docs-template","description":null,"fork":false,"url":"https://api.github.com/repos/alphagov/tech-docs-template","forks_url":"https://api.github.com/repos/alphagov/tech-docs-template/forks","keys_url":"https://api.github.com/repos/alphagov/tech-docs-template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/tech-docs-template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/tech-docs-template/teams","hooks_url":"https://api.github.com/repos/alphagov/tech-docs-template/hooks","issue_events_url":"https://api.github.com/repos/alphagov/tech-docs-template/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/tech-docs-template/events","assignees_url":"https://api.github.com/repos/alphagov/tech-docs-template/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/tech-docs-template/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/tech-docs-template/tags","blobs_url":"https://api.github.com/repos/alphagov/tech-docs-template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/tech-docs-template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/tech-docs-template/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/tech-docs-template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/tech-docs-template/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/tech-docs-template/languages","stargazers_url":"https://api.github.com/repos/alphagov/tech-docs-template/stargazers","contributors_url":"https://api.github.com/repos/alphagov/tech-docs-template/contributors","subscribers_url":"https://api.github.com/repos/alphagov/tech-docs-template/subscribers","subscription_url":"https://api.github.com/repos/alphagov/tech-docs-template/subscription","commits_url":"https://api.github.com/repos/alphagov/tech-docs-template/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/tech-docs-template/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/tech-docs-template/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/tech-docs-template/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/tech-docs-template/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/tech-docs-template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/tech-docs-template/merges","archive_url":"https://api.github.com/repos/alphagov/tech-docs-template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/tech-docs-template/downloads","issues_url":"https://api.github.com/repos/alphagov/tech-docs-template/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/tech-docs-template/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/tech-docs-template/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/tech-docs-template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/tech-docs-template/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/tech-docs-template/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/tech-docs-template/deployments","created_at":"2016-10-28T10:16:46Z","updated_at":"2016-11-23T13:23:09Z","pushed_at":"2016-12-02T15:18:48Z","git_url":"git://github.com/alphagov/tech-docs-template.git","ssh_url":"git@github.com:alphagov/tech-docs-template.git","clone_url":"https://github.com/alphagov/tech-docs-template.git","svn_url":"https://github.com/alphagov/tech-docs-template","homepage":null,"size":381,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/tech-docs-template/pulls/21"},"html":{"href":"https://github.com/alphagov/tech-docs-template/pull/21"},"issue":{"href":"https://api.github.com/repos/alphagov/tech-docs-template/issues/21"},"comments":{"href":"https://api.github.com/repos/alphagov/tech-docs-template/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/tech-docs-template/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/tech-docs-template/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/tech-docs-template/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/tech-docs-template/statuses/f0dc8075e58d6ba95ca270ad70370513c555639b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mcmillan","id":1315466,"avatar_url":"https://avatars.githubusercontent.com/u/1315466?v=3","gravatar_id":"","url":"https://api.github.com/users/mcmillan","html_url":"https://github.com/mcmillan","followers_url":"https://api.github.com/users/mcmillan/followers","following_url":"https://api.github.com/users/mcmillan/following{/other_user}","gists_url":"https://api.github.com/users/mcmillan/gists{/gist_id}","starred_url":"https://api.github.com/users/mcmillan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcmillan/subscriptions","organizations_url":"https://api.github.com/users/mcmillan/orgs","repos_url":"https://api.github.com/users/mcmillan/repos","events_url":"https://api.github.com/users/mcmillan/events{/privacy}","received_events_url":"https://api.github.com/users/mcmillan/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":2,"additions":6,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"mcmillan"}}