{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/7257","repository_url":"https://api.github.com/repos/angular/material","labels_url":"https://api.github.com/repos/angular/material/issues/7257/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/7257/comments","events_url":"https://api.github.com/repos/angular/material/issues/7257/events","html_url":"https://github.com/angular/material/issues/7257","id":135895666,"number":7257,"title":"md-button: icon is misaligned when using with text","user":{"login":"ivoviz","id":1143746,"avatar_url":"https://avatars.githubusercontent.com/u/1143746?v=3","gravatar_id":"","url":"https://api.github.com/users/ivoviz","html_url":"https://github.com/ivoviz","followers_url":"https://api.github.com/users/ivoviz/followers","following_url":"https://api.github.com/users/ivoviz/following{/other_user}","gists_url":"https://api.github.com/users/ivoviz/gists{/gist_id}","starred_url":"https://api.github.com/users/ivoviz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivoviz/subscriptions","organizations_url":"https://api.github.com/users/ivoviz/orgs","repos_url":"https://api.github.com/users/ivoviz/repos","events_url":"https://api.github.com/users/ivoviz/events{/privacy}","received_events_url":"https://api.github.com/users/ivoviz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/material/labels/needs:%20investigation","name":"needs: investigation","color":"444444"}],"state":"open","locked":false,"assignee":{"login":"DevVersion","id":4987015,"avatar_url":"https://avatars.githubusercontent.com/u/4987015?v=3","gravatar_id":"","url":"https://api.github.com/users/DevVersion","html_url":"https://github.com/DevVersion","followers_url":"https://api.github.com/users/DevVersion/followers","following_url":"https://api.github.com/users/DevVersion/following{/other_user}","gists_url":"https://api.github.com/users/DevVersion/gists{/gist_id}","starred_url":"https://api.github.com/users/DevVersion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevVersion/subscriptions","organizations_url":"https://api.github.com/users/DevVersion/orgs","repos_url":"https://api.github.com/users/DevVersion/repos","events_url":"https://api.github.com/users/DevVersion/events{/privacy}","received_events_url":"https://api.github.com/users/DevVersion/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/material/milestones/42","html_url":"https://github.com/angular/material/milestones/1.0.6","labels_url":"https://api.github.com/repos/angular/material/milestones/42/labels","id":1552899,"number":42,"title":"1.0.6","description":"","creator":{"login":"ThomasBurleson","id":210413,"avatar_url":"https://avatars.githubusercontent.com/u/210413?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasBurleson","html_url":"https://github.com/ThomasBurleson","followers_url":"https://api.github.com/users/ThomasBurleson/followers","following_url":"https://api.github.com/users/ThomasBurleson/following{/other_user}","gists_url":"https://api.github.com/users/ThomasBurleson/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasBurleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasBurleson/subscriptions","organizations_url":"https://api.github.com/users/ThomasBurleson/orgs","repos_url":"https://api.github.com/users/ThomasBurleson/repos","events_url":"https://api.github.com/users/ThomasBurleson/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasBurleson/received_events","type":"User","site_admin":false},"open_issues":53,"closed_issues":63,"state":"open","created_at":"2016-01-30T16:51:44Z","updated_at":"2016-02-28T18:38:15Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-02-23T23:11:33Z","updated_at":"2016-02-28T18:43:59Z","closed_at":null,"body":"```html\r\n<md-button>\r\n  <md-icon md-svg-src=\"your/icon.svg\"></md-icon>\r\n  Register Now\r\n</md-button>\r\n```\r\n\r\nUsing the above snippet the icon is misaligned vertically by 2px. Tested in latest Chrome, FF and Edge (31.14267.1000).\r\nMaterial version: 1.0.5\r\n\r\n[Codepen here](http://codepen.io/anon/pen/NxQywr)\r\nProbably a simple `margin-top: -2px` on `md-icon` would solve the problem. (Also tested on the said browsers.)"},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/189921225","html_url":"https://github.com/angular/material/issues/7257#issuecomment-189921225","issue_url":"https://api.github.com/repos/angular/material/issues/7257","id":189921225,"user":{"login":"DevVersion","id":4987015,"avatar_url":"https://avatars.githubusercontent.com/u/4987015?v=3","gravatar_id":"","url":"https://api.github.com/users/DevVersion","html_url":"https://github.com/DevVersion","followers_url":"https://api.github.com/users/DevVersion/followers","following_url":"https://api.github.com/users/DevVersion/following{/other_user}","gists_url":"https://api.github.com/users/DevVersion/gists{/gist_id}","starred_url":"https://api.github.com/users/DevVersion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevVersion/subscriptions","organizations_url":"https://api.github.com/users/DevVersion/orgs","repos_url":"https://api.github.com/users/DevVersion/repos","events_url":"https://api.github.com/users/DevVersion/events{/privacy}","received_events_url":"https://api.github.com/users/DevVersion/received_events","type":"User","site_admin":false},"created_at":"2016-02-28T18:43:59Z","updated_at":"2016-02-28T18:43:59Z","body":"@ivoviz Just took a look and changed the text alignment. Can you confirm the change with your nice images? :wink: \r\n\r\n![image](https://cloud.githubusercontent.com/assets/4987015/13381119/8b3c5d62-de53-11e5-8114-c2db007103c9.png)\r\n"}}