{"action":"created","comment":{"url":"https://api.github.com/repos/PolymerElements/paper-radio-button/pulls/comments/42041064","id":42041064,"diff_hunk":"@@ -125,12 +133,17 @@\n         position: relative;\n         display: inline-block;\n         vertical-align: middle;\n-        margin-left: 10px;\n+        margin-left: var(--paper-radio-button-label-spacing, 10px);\n         white-space: normal;\n         pointer-events: none;\n         color: var(--paper-radio-button-label-color, --primary-text-color);\n       }\n \n+      :host-context([dir=\"rtl\"]) #radioLabel {\n+        margin-left: 0px;\n+        margin-right: var(--paper-radio-button-label-spacing, 10px);","path":"paper-radio-button.html","position":68,"original_position":68,"commit_id":"606005ddb1a0190642bc9ec5b3966f84ddaed7e3","original_commit_id":"606005ddb1a0190642bc9ec5b3966f84ddaed7e3","user":{"login":"cdata","id":240083,"avatar_url":"https://avatars.githubusercontent.com/u/240083?v=3","gravatar_id":"","url":"https://api.github.com/users/cdata","html_url":"https://github.com/cdata","followers_url":"https://api.github.com/users/cdata/followers","following_url":"https://api.github.com/users/cdata/following{/other_user}","gists_url":"https://api.github.com/users/cdata/gists{/gist_id}","starred_url":"https://api.github.com/users/cdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdata/subscriptions","organizations_url":"https://api.github.com/users/cdata/orgs","repos_url":"https://api.github.com/users/cdata/repos","events_url":"https://api.github.com/users/cdata/events{/privacy}","received_events_url":"https://api.github.com/users/cdata/received_events","type":"User","site_admin":false},"body":"I asked this question in the other `rtl` PR, but do you think these deserve mixins?","created_at":"2015-10-14T19:30:51Z","updated_at":"2015-10-14T19:30:51Z","html_url":"https://github.com/PolymerElements/paper-radio-button/pull/60#discussion_r42041064","pull_request_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/pulls/60","_links":{"self":{"href":"https://api.github.com/repos/PolymerElements/paper-radio-button/pulls/comments/42041064"},"html":{"href":"https://github.com/PolymerElements/paper-radio-button/pull/60#discussion_r42041064"},"pull_request":{"href":"https://api.github.com/repos/PolymerElements/paper-radio-button/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/PolymerElements/paper-radio-button/pulls/60","id":47680494,"html_url":"https://github.com/PolymerElements/paper-radio-button/pull/60","diff_url":"https://github.com/PolymerElements/paper-radio-button/pull/60.diff","patch_url":"https://github.com/PolymerElements/paper-radio-button/pull/60.patch","issue_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/issues/60","number":60,"state":"open","locked":false,"title":"be rtl friendly","user":{"login":"notwaldorf","id":1369170,"avatar_url":"https://avatars.githubusercontent.com/u/1369170?v=3","gravatar_id":"","url":"https://api.github.com/users/notwaldorf","html_url":"https://github.com/notwaldorf","followers_url":"https://api.github.com/users/notwaldorf/followers","following_url":"https://api.github.com/users/notwaldorf/following{/other_user}","gists_url":"https://api.github.com/users/notwaldorf/gists{/gist_id}","starred_url":"https://api.github.com/users/notwaldorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notwaldorf/subscriptions","organizations_url":"https://api.github.com/users/notwaldorf/orgs","repos_url":"https://api.github.com/users/notwaldorf/repos","events_url":"https://api.github.com/users/notwaldorf/events{/privacy}","received_events_url":"https://api.github.com/users/notwaldorf/received_events","type":"User","site_admin":false},"body":"Fixes #30 :tada: Also:\r\n- removed some useless `:host` that weren't needed\r\n- fixed https://github.com/PolymerElements/paper-radio-button/issues/47 by adding a custom property for the label spacing\r\n\r\nUsing `<html dir=\"rtl\">`\r\n<img width=\"839\" alt=\"screen shot 2015-10-14 at 9 09 52 am\" src=\"https://cloud.githubusercontent.com/assets/1369170/10489848/80e1db24-7253-11e5-9353-38eb9148225e.png\">\r\n\r\nUsing parent div with `dir=\"rtl\"`:\r\n<img width=\"265\" alt=\"screen shot 2015-10-14 at 9 09 25 am\" src=\"https://cloud.githubusercontent.com/assets/1369170/10489857/893a9fd6-7253-11e5-913c-c70d65f552d2.png\">\r\n\r\nUsing `<paper-radio-button dir=\"rtl\">`\r\n<img width=\"273\" alt=\"screen shot 2015-10-14 at 9 09 04 am\" src=\"https://cloud.githubusercontent.com/assets/1369170/10489865/909f091a-7253-11e5-830a-b66f5b361b2d.png\">\r\n","created_at":"2015-10-14T16:12:00Z","updated_at":"2015-10-14T19:30:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f73064ce65ab5abbcab1433571622de82ca3ef89","assignee":{"login":"cdata","id":240083,"avatar_url":"https://avatars.githubusercontent.com/u/240083?v=3","gravatar_id":"","url":"https://api.github.com/users/cdata","html_url":"https://github.com/cdata","followers_url":"https://api.github.com/users/cdata/followers","following_url":"https://api.github.com/users/cdata/following{/other_user}","gists_url":"https://api.github.com/users/cdata/gists{/gist_id}","starred_url":"https://api.github.com/users/cdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdata/subscriptions","organizations_url":"https://api.github.com/users/cdata/orgs","repos_url":"https://api.github.com/users/cdata/repos","events_url":"https://api.github.com/users/cdata/events{/privacy}","received_events_url":"https://api.github.com/users/cdata/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/pulls/60/commits","review_comments_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/pulls/60/comments","review_comment_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/issues/60/comments","statuses_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/statuses/606005ddb1a0190642bc9ec5b3966f84ddaed7e3","head":{"label":"PolymerElements:rtl","ref":"rtl","sha":"606005ddb1a0190642bc9ec5b3966f84ddaed7e3","user":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"repo":{"id":33898786,"name":"paper-radio-button","full_name":"PolymerElements/paper-radio-button","owner":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PolymerElements/paper-radio-button","description":"A Material Design radio button","fork":false,"url":"https://api.github.com/repos/PolymerElements/paper-radio-button","forks_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/forks","keys_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/teams","hooks_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/hooks","issue_events_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/issues/events{/number}","events_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/events","assignees_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/assignees{/user}","branches_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/branches{/branch}","tags_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/tags","blobs_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/git/refs{/sha}","trees_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/statuses/{sha}","languages_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/languages","stargazers_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/stargazers","contributors_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/contributors","subscribers_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/subscribers","subscription_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/subscription","commits_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/commits{/sha}","git_commits_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/git/commits{/sha}","comments_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/comments{/number}","issue_comment_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/issues/comments{/number}","contents_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/contents/{+path}","compare_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/merges","archive_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/downloads","issues_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/issues{/number}","pulls_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/pulls{/number}","milestones_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/milestones{/number}","notifications_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/labels{/name}","releases_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/releases{/id}","created_at":"2015-04-13T23:06:27Z","updated_at":"2015-10-10T09:10:13Z","pushed_at":"2015-10-14T16:17:33Z","git_url":"git://github.com/PolymerElements/paper-radio-button.git","ssh_url":"git@github.com:PolymerElements/paper-radio-button.git","clone_url":"https://github.com/PolymerElements/paper-radio-button.git","svn_url":"https://github.com/PolymerElements/paper-radio-button","homepage":"https://elements.polymer-project.org/elements/paper-radio-button?view=demo:demo/index.html","size":665,"stargazers_count":4,"watchers_count":4,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":6,"forks":6,"open_issues":6,"watchers":4,"default_branch":"master"}},"base":{"label":"PolymerElements:master","ref":"master","sha":"708d1e611ad5a7c9600a128545a88e9991fe789e","user":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"repo":{"id":33898786,"name":"paper-radio-button","full_name":"PolymerElements/paper-radio-button","owner":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PolymerElements/paper-radio-button","description":"A Material Design radio button","fork":false,"url":"https://api.github.com/repos/PolymerElements/paper-radio-button","forks_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/forks","keys_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/teams","hooks_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/hooks","issue_events_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/issues/events{/number}","events_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/events","assignees_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/assignees{/user}","branches_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/branches{/branch}","tags_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/tags","blobs_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/git/refs{/sha}","trees_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/statuses/{sha}","languages_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/languages","stargazers_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/stargazers","contributors_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/contributors","subscribers_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/subscribers","subscription_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/subscription","commits_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/commits{/sha}","git_commits_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/git/commits{/sha}","comments_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/comments{/number}","issue_comment_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/issues/comments{/number}","contents_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/contents/{+path}","compare_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/merges","archive_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/downloads","issues_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/issues{/number}","pulls_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/pulls{/number}","milestones_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/milestones{/number}","notifications_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/labels{/name}","releases_url":"https://api.github.com/repos/PolymerElements/paper-radio-button/releases{/id}","created_at":"2015-04-13T23:06:27Z","updated_at":"2015-10-10T09:10:13Z","pushed_at":"2015-10-14T16:17:33Z","git_url":"git://github.com/PolymerElements/paper-radio-button.git","ssh_url":"git@github.com:PolymerElements/paper-radio-button.git","clone_url":"https://github.com/PolymerElements/paper-radio-button.git","svn_url":"https://github.com/PolymerElements/paper-radio-button","homepage":"https://elements.polymer-project.org/elements/paper-radio-button?view=demo:demo/index.html","size":665,"stargazers_count":4,"watchers_count":4,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":6,"forks":6,"open_issues":6,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PolymerElements/paper-radio-button/pulls/60"},"html":{"href":"https://github.com/PolymerElements/paper-radio-button/pull/60"},"issue":{"href":"https://api.github.com/repos/PolymerElements/paper-radio-button/issues/60"},"comments":{"href":"https://api.github.com/repos/PolymerElements/paper-radio-button/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/PolymerElements/paper-radio-button/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/PolymerElements/paper-radio-button/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PolymerElements/paper-radio-button/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/PolymerElements/paper-radio-button/statuses/606005ddb1a0190642bc9ec5b3966f84ddaed7e3"}}}}