{"action":"created","issue":{"url":"https://api.github.com/repos/romainberger/react-portal-tooltip/issues/53","repository_url":"https://api.github.com/repos/romainberger/react-portal-tooltip","labels_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/issues/53/comments","events_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/issues/53/events","html_url":"https://github.com/romainberger/react-portal-tooltip/pull/53","id":252852464,"number":53,"title":"fix arrow centring by deducing arrow size","user":{"login":"ClemDelp","id":4126690,"avatar_url":"https://avatars0.githubusercontent.com/u/4126690?v=4","gravatar_id":"","url":"https://api.github.com/users/ClemDelp","html_url":"https://github.com/ClemDelp","followers_url":"https://api.github.com/users/ClemDelp/followers","following_url":"https://api.github.com/users/ClemDelp/following{/other_user}","gists_url":"https://api.github.com/users/ClemDelp/gists{/gist_id}","starred_url":"https://api.github.com/users/ClemDelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClemDelp/subscriptions","organizations_url":"https://api.github.com/users/ClemDelp/orgs","repos_url":"https://api.github.com/users/ClemDelp/repos","events_url":"https://api.github.com/users/ClemDelp/events{/privacy}","received_events_url":"https://api.github.com/users/ClemDelp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-25T09:56:49Z","updated_at":"2017-08-29T20:33:00Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/romainberger/react-portal-tooltip/pulls/53","html_url":"https://github.com/romainberger/react-portal-tooltip/pull/53","diff_url":"https://github.com/romainberger/react-portal-tooltip/pull/53.diff","patch_url":"https://github.com/romainberger/react-portal-tooltip/pull/53.patch"},"body":"The arrow's size was not take in consideration to compute its position in the following context:\r\n- position: top/bottom\r\n- arrow: left/right\r\n\r\nIt's almost invisible on a medium element size but on a small element like an icon we can detect the problem:\r\n![image](https://user-images.githubusercontent.com/4126690/29709152-a2713946-898b-11e7-920f-a2e89bd1b367.png)\r\n\r\nWith the fix even on small element the arrow is visually center:\r\n\r\n![image](https://user-images.githubusercontent.com/4126690/29709268-fe889652-898b-11e7-9581-d3ccf5784411.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/romainberger/react-portal-tooltip/issues/comments/325795151","html_url":"https://github.com/romainberger/react-portal-tooltip/pull/53#issuecomment-325795151","issue_url":"https://api.github.com/repos/romainberger/react-portal-tooltip/issues/53","id":325795151,"user":{"login":"tanqhnguyen","id":910024,"avatar_url":"https://avatars1.githubusercontent.com/u/910024?v=4","gravatar_id":"","url":"https://api.github.com/users/tanqhnguyen","html_url":"https://github.com/tanqhnguyen","followers_url":"https://api.github.com/users/tanqhnguyen/followers","following_url":"https://api.github.com/users/tanqhnguyen/following{/other_user}","gists_url":"https://api.github.com/users/tanqhnguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tanqhnguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanqhnguyen/subscriptions","organizations_url":"https://api.github.com/users/tanqhnguyen/orgs","repos_url":"https://api.github.com/users/tanqhnguyen/repos","events_url":"https://api.github.com/users/tanqhnguyen/events{/privacy}","received_events_url":"https://api.github.com/users/tanqhnguyen/received_events","type":"User","site_admin":false},"created_at":"2017-08-29T20:33:00Z","updated_at":"2017-08-29T20:33:00Z","author_association":"COLLABORATOR","body":"Looks good to me 👍 "}}
{"actor":{"display_login":"tanqhnguyen"}}