{"action":"created","issue":{"url":"https://api.github.com/repos/picturepan2/spectre/issues/175","repository_url":"https://api.github.com/repos/picturepan2/spectre","labels_url":"https://api.github.com/repos/picturepan2/spectre/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/picturepan2/spectre/issues/175/comments","events_url":"https://api.github.com/repos/picturepan2/spectre/issues/175/events","html_url":"https://github.com/picturepan2/spectre/issues/175","id":218480966,"number":175,"title":"Center the dropdown relative to its toggle","user":{"login":"Leva7","id":15035286,"avatar_url":"https://avatars3.githubusercontent.com/u/15035286?v=3","gravatar_id":"","url":"https://api.github.com/users/Leva7","html_url":"https://github.com/Leva7","followers_url":"https://api.github.com/users/Leva7/followers","following_url":"https://api.github.com/users/Leva7/following{/other_user}","gists_url":"https://api.github.com/users/Leva7/gists{/gist_id}","starred_url":"https://api.github.com/users/Leva7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Leva7/subscriptions","organizations_url":"https://api.github.com/users/Leva7/orgs","repos_url":"https://api.github.com/users/Leva7/repos","events_url":"https://api.github.com/users/Leva7/events{/privacy}","received_events_url":"https://api.github.com/users/Leva7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-31T11:57:19Z","updated_at":"2017-03-31T14:09:44Z","closed_at":null,"body":"Right now, there are two options for positioning the dropdown:\r\n\r\n- Default, aligned by the left edge\r\n- `dropdown-right`, aligned by the right edge\r\n\r\nBut I want the dropdown to be aligned by the centre.  \r\nThere's one obvious solution to add a CSS property `left: ...px` that would move it to the center, but that requires hardcoding the pixel value and may not always be accurate. Is there a better way?"},"comment":{"url":"https://api.github.com/repos/picturepan2/spectre/issues/comments/290722324","html_url":"https://github.com/picturepan2/spectre/issues/175#issuecomment-290722324","issue_url":"https://api.github.com/repos/picturepan2/spectre/issues/175","id":290722324,"user":{"login":"adaniello","id":242423,"avatar_url":"https://avatars0.githubusercontent.com/u/242423?v=3","gravatar_id":"","url":"https://api.github.com/users/adaniello","html_url":"https://github.com/adaniello","followers_url":"https://api.github.com/users/adaniello/followers","following_url":"https://api.github.com/users/adaniello/following{/other_user}","gists_url":"https://api.github.com/users/adaniello/gists{/gist_id}","starred_url":"https://api.github.com/users/adaniello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adaniello/subscriptions","organizations_url":"https://api.github.com/users/adaniello/orgs","repos_url":"https://api.github.com/users/adaniello/repos","events_url":"https://api.github.com/users/adaniello/events{/privacy}","received_events_url":"https://api.github.com/users/adaniello/received_events","type":"User","site_admin":false},"created_at":"2017-03-31T14:09:44Z","updated_at":"2017-03-31T14:09:44Z","body":"If you interested to center menu, you'ld try adding to `.dropdown .menu` class:\r\n\r\n```\r\nleft: 50%;\r\ntransform: translateX(-50%);\r\n```"}}
{"actor":{"display_login":"adaniello"}}