{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/9333","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/9333/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/9333/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/9333/events","html_url":"https://github.com/edx/edx-platform/pull/9333","id":101305789,"number":9333,"title":"Fixing status indicator positioning","user":{"login":"jolyonb","id":6232546,"avatar_url":"https://avatars.githubusercontent.com/u/6232546?v=3","gravatar_id":"","url":"https://api.github.com/users/jolyonb","html_url":"https://github.com/jolyonb","followers_url":"https://api.github.com/users/jolyonb/followers","following_url":"https://api.github.com/users/jolyonb/following{/other_user}","gists_url":"https://api.github.com/users/jolyonb/gists{/gist_id}","starred_url":"https://api.github.com/users/jolyonb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jolyonb/subscriptions","organizations_url":"https://api.github.com/users/jolyonb/orgs","repos_url":"https://api.github.com/users/jolyonb/repos","events_url":"https://api.github.com/users/jolyonb/events{/privacy}","received_events_url":"https://api.github.com/users/jolyonb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/edx/edx-platform/labels/needs%20triage","name":"needs triage","color":"e11d21"},{"url":"https://api.github.com/repos/edx/edx-platform/labels/open-source-contribution","name":"open-source-contribution","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-16T22:30:43Z","updated_at":"2015-08-17T16:42:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/9333","html_url":"https://github.com/edx/edx-platform/pull/9333","diff_url":"https://github.com/edx/edx-platform/pull/9333.diff","patch_url":"https://github.com/edx/edx-platform/pull/9333.patch"},"body":"This one-line PR fixes an issue with status indicators in checkbox capa problems.\r\n\r\nThe current styling has the indicator lying outside it's box. This is especially evident when using a checkbox problem and displaying a hint/message to the student, as shown in the following examples:\r\n![screen shot 2015-08-16 at 5 52 34 pm](https://cloud.githubusercontent.com/assets/6232546/9295621/a92ad67a-4441-11e5-9b86-bac4c8ac1540.png)\r\n![screen shot 2015-08-16 at 5 52 59 pm](https://cloud.githubusercontent.com/assets/6232546/9295623/aaa87584-4441-11e5-8204-71fd207e909a.png)\r\n![screen shot 2015-08-16 at 5 53 14 pm](https://cloud.githubusercontent.com/assets/6232546/9295625/ad57d64e-4441-11e5-9a50-04f4555bc592.png)\r\n\r\nWith this fix, the indicator is placed back in it's box (an extraneous extra spacing is removed).\r\n![screen shot 2015-08-16 at 5 53 25 pm](https://cloud.githubusercontent.com/assets/6232546/9295629/bb127320-4441-11e5-948f-0bf126c03e4b.png)\r\n\r\nNote that I've used software to highlight the bounding boxes here.\r\n\r\nA warning: this does change the CSS for a mixin; I've tested a few situations where it's used, but I might not have caught all of them.\r\n\r\nCode to generate the example for the above screenshots:\r\n<pre>&lt;script type=\"text/python\" system_path=\"python_lib\">\r\ndef partialcredit(answer_ids, student_answers, new_cmap, old_cmap):\r\n    new_cmap.set_hint_and_mode(answer_ids[0], \"This is a hint\", 'always')\r\n&lt;/script>\r\n\r\n&lt;choiceresponse>\r\n  &lt;checkboxgroup>\r\n    &lt;choice correct=\"true\">\r\n      &lt;text>This is true.&lt;/text>\r\n    &lt;/choice>\r\n  &lt;/checkboxgroup>\r\n  &lt;hintgroup hintfn=\"partialcredit\"/>\r\n&lt;/choiceresponse></pre>"},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/131885548","html_url":"https://github.com/edx/edx-platform/pull/9333#issuecomment-131885548","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/9333","id":131885548,"user":{"login":"sarina","id":1985317,"avatar_url":"https://avatars.githubusercontent.com/u/1985317?v=3","gravatar_id":"","url":"https://api.github.com/users/sarina","html_url":"https://github.com/sarina","followers_url":"https://api.github.com/users/sarina/followers","following_url":"https://api.github.com/users/sarina/following{/other_user}","gists_url":"https://api.github.com/users/sarina/gists{/gist_id}","starred_url":"https://api.github.com/users/sarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarina/subscriptions","organizations_url":"https://api.github.com/users/sarina/orgs","repos_url":"https://api.github.com/users/sarina/repos","events_url":"https://api.github.com/users/sarina/events{/privacy}","received_events_url":"https://api.github.com/users/sarina/received_events","type":"User","site_admin":false},"created_at":"2015-08-17T16:42:51Z","updated_at":"2015-08-17T16:42:51Z","body":"jenkins run js"}}