{"action":"opened","number":756,"pull_request":{"url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/pulls/756","id":285279047,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg1Mjc5MDQ3","html_url":"https://github.com/BrandwatchLtd/axiom-react/pull/756","diff_url":"https://github.com/BrandwatchLtd/axiom-react/pull/756.diff","patch_url":"https://github.com/BrandwatchLtd/axiom-react/pull/756.patch","issue_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/issues/756","number":756,"state":"open","locked":false,"title":"fix(Position): Fixes the margin depending on where the arrow is shown","user":{"login":"siggysamson","id":1510613,"node_id":"MDQ6VXNlcjE1MTA2MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1510613?v=4","gravatar_id":"","url":"https://api.github.com/users/siggysamson","html_url":"https://github.com/siggysamson","followers_url":"https://api.github.com/users/siggysamson/followers","following_url":"https://api.github.com/users/siggysamson/following{/other_user}","gists_url":"https://api.github.com/users/siggysamson/gists{/gist_id}","starred_url":"https://api.github.com/users/siggysamson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siggysamson/subscriptions","organizations_url":"https://api.github.com/users/siggysamson/orgs","repos_url":"https://api.github.com/users/siggysamson/repos","events_url":"https://api.github.com/users/siggysamson/events{/privacy}","received_events_url":"https://api.github.com/users/siggysamson/received_events","type":"User","site_admin":false},"body":"I've improved the position of the Dropdown component when using `showArrow` and `offset`. I've noticed the dropdown is a little misplaced:\r\n![Screenshot 2019-06-05 at 10 43 34](https://user-images.githubusercontent.com/1510613/58942917-f9e9f800-877e-11e9-9152-14ec98c435ea.png)\r\n\r\nWhen inspecting you can see it has a margin applied on every side:\r\n![Screenshot 2019-06-05 at 10 44 14](https://user-images.githubusercontent.com/1510613/58942935-04a48d00-877f-11e9-913a-776fb19a80c2.png)\r\n\r\nI've updated the CSS to only apply the margin on the side where the arrow is being shown, resulting in this:\r\n![Screenshot 2019-06-05 at 10 43 58](https://user-images.githubusercontent.com/1510613/58942969-1423d600-877f-11e9-968f-f993dd79dd2b.png)\r\n","created_at":"2019-06-05T08:46:05Z","updated_at":"2019-06-05T08:46:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[{"name":"Axiom","id":2273611,"node_id":"MDQ6VGVhbTIyNzM2MTE=","slug":"axiom","description":"Axiom design system working group members","privacy":"closed","url":"https://api.github.com/teams/2273611","html_url":"https://github.com/orgs/BrandwatchLtd/teams/axiom","members_url":"https://api.github.com/teams/2273611/members{/member}","repositories_url":"https://api.github.com/teams/2273611/repos","permission":"pull"}],"labels":[{"id":550498093,"node_id":"MDU6TGFiZWw1NTA0OTgwOTM=","url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/labels/:art:%20%20Design%20Review%20Needed","name":":art:  Design Review Needed","color":"bfdadc","default":false},{"id":550561808,"node_id":"MDU6TGFiZWw1NTA1NjE4MDg=","url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/labels/:woman_technologist:%20%201st%20Code%20Review%20Needed","name":":woman_technologist:  1st Code Review Needed","color":"d4c5f9","default":false},{"id":982488186,"node_id":"MDU6TGFiZWw5ODI0ODgxODY=","url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/labels/:woman_technologist:%202nd%20Code%20Review%20Needed","name":":woman_technologist: 2nd Code Review Needed","color":"d4c5f9","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/pulls/756/commits","review_comments_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/pulls/756/comments","review_comment_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/issues/756/comments","statuses_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/statuses/9b79bc154bc2886077106fc16a8b5e938ea0dc89","head":{"label":"siggysamson:fix-dropdown-arrow-margin","ref":"fix-dropdown-arrow-margin","sha":"9b79bc154bc2886077106fc16a8b5e938ea0dc89","user":{"login":"siggysamson","id":1510613,"node_id":"MDQ6VXNlcjE1MTA2MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1510613?v=4","gravatar_id":"","url":"https://api.github.com/users/siggysamson","html_url":"https://github.com/siggysamson","followers_url":"https://api.github.com/users/siggysamson/followers","following_url":"https://api.github.com/users/siggysamson/following{/other_user}","gists_url":"https://api.github.com/users/siggysamson/gists{/gist_id}","starred_url":"https://api.github.com/users/siggysamson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siggysamson/subscriptions","organizations_url":"https://api.github.com/users/siggysamson/orgs","repos_url":"https://api.github.com/users/siggysamson/repos","events_url":"https://api.github.com/users/siggysamson/events{/privacy}","received_events_url":"https://api.github.com/users/siggysamson/received_events","type":"User","site_admin":false},"repo":{"id":83411526,"node_id":"MDEwOlJlcG9zaXRvcnk4MzQxMTUyNg==","name":"axiom","full_name":"siggysamson/axiom","private":false,"owner":{"login":"siggysamson","id":1510613,"node_id":"MDQ6VXNlcjE1MTA2MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1510613?v=4","gravatar_id":"","url":"https://api.github.com/users/siggysamson","html_url":"https://github.com/siggysamson","followers_url":"https://api.github.com/users/siggysamson/followers","following_url":"https://api.github.com/users/siggysamson/following{/other_user}","gists_url":"https://api.github.com/users/siggysamson/gists{/gist_id}","starred_url":"https://api.github.com/users/siggysamson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siggysamson/subscriptions","organizations_url":"https://api.github.com/users/siggysamson/orgs","repos_url":"https://api.github.com/users/siggysamson/repos","events_url":"https://api.github.com/users/siggysamson/events{/privacy}","received_events_url":"https://api.github.com/users/siggysamson/received_events","type":"User","site_admin":false},"html_url":"https://github.com/siggysamson/axiom","description":"Axiom - Pattern Library","fork":true,"url":"https://api.github.com/repos/siggysamson/axiom","forks_url":"https://api.github.com/repos/siggysamson/axiom/forks","keys_url":"https://api.github.com/repos/siggysamson/axiom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/siggysamson/axiom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/siggysamson/axiom/teams","hooks_url":"https://api.github.com/repos/siggysamson/axiom/hooks","issue_events_url":"https://api.github.com/repos/siggysamson/axiom/issues/events{/number}","events_url":"https://api.github.com/repos/siggysamson/axiom/events","assignees_url":"https://api.github.com/repos/siggysamson/axiom/assignees{/user}","branches_url":"https://api.github.com/repos/siggysamson/axiom/branches{/branch}","tags_url":"https://api.github.com/repos/siggysamson/axiom/tags","blobs_url":"https://api.github.com/repos/siggysamson/axiom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/siggysamson/axiom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/siggysamson/axiom/git/refs{/sha}","trees_url":"https://api.github.com/repos/siggysamson/axiom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/siggysamson/axiom/statuses/{sha}","languages_url":"https://api.github.com/repos/siggysamson/axiom/languages","stargazers_url":"https://api.github.com/repos/siggysamson/axiom/stargazers","contributors_url":"https://api.github.com/repos/siggysamson/axiom/contributors","subscribers_url":"https://api.github.com/repos/siggysamson/axiom/subscribers","subscription_url":"https://api.github.com/repos/siggysamson/axiom/subscription","commits_url":"https://api.github.com/repos/siggysamson/axiom/commits{/sha}","git_commits_url":"https://api.github.com/repos/siggysamson/axiom/git/commits{/sha}","comments_url":"https://api.github.com/repos/siggysamson/axiom/comments{/number}","issue_comment_url":"https://api.github.com/repos/siggysamson/axiom/issues/comments{/number}","contents_url":"https://api.github.com/repos/siggysamson/axiom/contents/{+path}","compare_url":"https://api.github.com/repos/siggysamson/axiom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/siggysamson/axiom/merges","archive_url":"https://api.github.com/repos/siggysamson/axiom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/siggysamson/axiom/downloads","issues_url":"https://api.github.com/repos/siggysamson/axiom/issues{/number}","pulls_url":"https://api.github.com/repos/siggysamson/axiom/pulls{/number}","milestones_url":"https://api.github.com/repos/siggysamson/axiom/milestones{/number}","notifications_url":"https://api.github.com/repos/siggysamson/axiom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/siggysamson/axiom/labels{/name}","releases_url":"https://api.github.com/repos/siggysamson/axiom/releases{/id}","deployments_url":"https://api.github.com/repos/siggysamson/axiom/deployments","created_at":"2017-02-28T09:02:23Z","updated_at":"2017-02-28T09:02:25Z","pushed_at":"2019-06-05T08:42:41Z","git_url":"git://github.com/siggysamson/axiom.git","ssh_url":"git@github.com:siggysamson/axiom.git","clone_url":"https://github.com/siggysamson/axiom.git","svn_url":"https://github.com/siggysamson/axiom","homepage":"https://brandwatchltd.github.io/axiom","size":10007,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"BrandwatchLtd:master","ref":"master","sha":"a3f807e9c7b8c109222550e2b9fc480bdeb9d783","user":{"login":"BrandwatchLtd","id":807036,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgwNzAzNg==","avatar_url":"https://avatars0.githubusercontent.com/u/807036?v=4","gravatar_id":"","url":"https://api.github.com/users/BrandwatchLtd","html_url":"https://github.com/BrandwatchLtd","followers_url":"https://api.github.com/users/BrandwatchLtd/followers","following_url":"https://api.github.com/users/BrandwatchLtd/following{/other_user}","gists_url":"https://api.github.com/users/BrandwatchLtd/gists{/gist_id}","starred_url":"https://api.github.com/users/BrandwatchLtd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrandwatchLtd/subscriptions","organizations_url":"https://api.github.com/users/BrandwatchLtd/orgs","repos_url":"https://api.github.com/users/BrandwatchLtd/repos","events_url":"https://api.github.com/users/BrandwatchLtd/events{/privacy}","received_events_url":"https://api.github.com/users/BrandwatchLtd/received_events","type":"Organization","site_admin":false},"repo":{"id":56243759,"node_id":"MDEwOlJlcG9zaXRvcnk1NjI0Mzc1OQ==","name":"axiom-react","full_name":"BrandwatchLtd/axiom-react","private":false,"owner":{"login":"BrandwatchLtd","id":807036,"node_id":"MDEyOk9yZ2FuaXphdGlvbjgwNzAzNg==","avatar_url":"https://avatars0.githubusercontent.com/u/807036?v=4","gravatar_id":"","url":"https://api.github.com/users/BrandwatchLtd","html_url":"https://github.com/BrandwatchLtd","followers_url":"https://api.github.com/users/BrandwatchLtd/followers","following_url":"https://api.github.com/users/BrandwatchLtd/following{/other_user}","gists_url":"https://api.github.com/users/BrandwatchLtd/gists{/gist_id}","starred_url":"https://api.github.com/users/BrandwatchLtd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrandwatchLtd/subscriptions","organizations_url":"https://api.github.com/users/BrandwatchLtd/orgs","repos_url":"https://api.github.com/users/BrandwatchLtd/repos","events_url":"https://api.github.com/users/BrandwatchLtd/events{/privacy}","received_events_url":"https://api.github.com/users/BrandwatchLtd/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/BrandwatchLtd/axiom-react","description":"Axiom - Brandwatch design system and React pattern library","fork":false,"url":"https://api.github.com/repos/BrandwatchLtd/axiom-react","forks_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/forks","keys_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/teams","hooks_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/hooks","issue_events_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/issues/events{/number}","events_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/events","assignees_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/assignees{/user}","branches_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/branches{/branch}","tags_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/tags","blobs_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/statuses/{sha}","languages_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/languages","stargazers_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/stargazers","contributors_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/contributors","subscribers_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/subscribers","subscription_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/subscription","commits_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/contents/{+path}","compare_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/merges","archive_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/downloads","issues_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/issues{/number}","pulls_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/pulls{/number}","milestones_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/milestones{/number}","notifications_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/labels{/name}","releases_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/releases{/id}","deployments_url":"https://api.github.com/repos/BrandwatchLtd/axiom-react/deployments","created_at":"2016-04-14T14:23:00Z","updated_at":"2019-06-05T08:32:49Z","pushed_at":"2019-06-05T08:32:47Z","git_url":"git://github.com/BrandwatchLtd/axiom-react.git","ssh_url":"git@github.com:BrandwatchLtd/axiom-react.git","clone_url":"https://github.com/BrandwatchLtd/axiom-react.git","svn_url":"https://github.com/BrandwatchLtd/axiom-react","homepage":"https://axiom.brandwatch.com","size":42792,"stargazers_count":37,"watchers_count":37,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":39,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":null,"forks":39,"open_issues":2,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BrandwatchLtd/axiom-react/pulls/756"},"html":{"href":"https://github.com/BrandwatchLtd/axiom-react/pull/756"},"issue":{"href":"https://api.github.com/repos/BrandwatchLtd/axiom-react/issues/756"},"comments":{"href":"https://api.github.com/repos/BrandwatchLtd/axiom-react/issues/756/comments"},"review_comments":{"href":"https://api.github.com/repos/BrandwatchLtd/axiom-react/pulls/756/comments"},"review_comment":{"href":"https://api.github.com/repos/BrandwatchLtd/axiom-react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BrandwatchLtd/axiom-react/pulls/756/commits"},"statuses":{"href":"https://api.github.com/repos/BrandwatchLtd/axiom-react/statuses/9b79bc154bc2886077106fc16a8b5e938ea0dc89"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":14,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"siggysamson"}}