{"action":"created","issue":{"url":"https://api.github.com/repos/openstax/tutor-js/issues/392","labels_url":"https://api.github.com/repos/openstax/tutor-js/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/openstax/tutor-js/issues/392/comments","events_url":"https://api.github.com/repos/openstax/tutor-js/issues/392/events","html_url":"https://github.com/openstax/tutor-js/pull/392","id":87789573,"number":392,"title":"Center and disable text wrapping on exercise images","user":{"login":"nathanstitt","id":79566,"avatar_url":"https://avatars.githubusercontent.com/u/79566?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanstitt","html_url":"https://github.com/nathanstitt","followers_url":"https://api.github.com/users/nathanstitt/followers","following_url":"https://api.github.com/users/nathanstitt/following{/other_user}","gists_url":"https://api.github.com/users/nathanstitt/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanstitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanstitt/subscriptions","organizations_url":"https://api.github.com/users/nathanstitt/orgs","repos_url":"https://api.github.com/users/nathanstitt/repos","events_url":"https://api.github.com/users/nathanstitt/events{/privacy}","received_events_url":"https://api.github.com/users/nathanstitt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-12T17:02:52Z","updated_at":"2015-06-15T19:54:51Z","closed_at":"2015-06-15T17:53:37Z","pull_request":{"url":"https://api.github.com/repos/openstax/tutor-js/pulls/392","html_url":"https://github.com/openstax/tutor-js/pull/392","diff_url":"https://github.com/openstax/tutor-js/pull/392.diff","patch_url":"https://github.com/openstax/tutor-js/pull/392.patch"},"body":"Unfortunately, images on exercises are just a IMG tag without a class or wrapping element so more specific selection isn't possible.\r\n\r\nThe `margin: @auto` bit isn't strictly needed, but it makes some larger images look better since they have equal margin on both sides rather than just a slightly larger white space on the right.\r\n\r\nBefore:\r\n![screen shot 2015-06-12 at 11 54 39 am](https://cloud.githubusercontent.com/assets/79566/8135168/a40a9998-10fa-11e5-872f-b50a8bdda4d2.png)\r\n\r\nAfter:\r\n![screen shot 2015-06-12 at 11 55 10 am](https://cloud.githubusercontent.com/assets/79566/8135167/a405f17c-10fa-11e5-89c5-549bbbebe4d0.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openstax/tutor-js/issues/comments/112188202","html_url":"https://github.com/openstax/tutor-js/pull/392#issuecomment-112188202","issue_url":"https://api.github.com/repos/openstax/tutor-js/issues/392","id":112188202,"user":{"login":"Dantemss","id":1017808,"avatar_url":"https://avatars.githubusercontent.com/u/1017808?v=3","gravatar_id":"","url":"https://api.github.com/users/Dantemss","html_url":"https://github.com/Dantemss","followers_url":"https://api.github.com/users/Dantemss/followers","following_url":"https://api.github.com/users/Dantemss/following{/other_user}","gists_url":"https://api.github.com/users/Dantemss/gists{/gist_id}","starred_url":"https://api.github.com/users/Dantemss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dantemss/subscriptions","organizations_url":"https://api.github.com/users/Dantemss/orgs","repos_url":"https://api.github.com/users/Dantemss/repos","events_url":"https://api.github.com/users/Dantemss/events{/privacy}","received_events_url":"https://api.github.com/users/Dantemss/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T19:54:51Z","updated_at":"2015-06-15T19:54:51Z","body":"Since the exercises importer generates the img tags, I can make it add some class if needed."}}