{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/material/issues/4946","labels_url":"https://api.github.com/repos/angular/material/issues/4946/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/4946/comments","events_url":"https://api.github.com/repos/angular/material/issues/4946/events","html_url":"https://github.com/angular/material/issues/4946","id":109173606,"number":4946,"title":"IE 11 md-toast needs height defined for auto centering","user":{"login":"jsr6720","id":502432,"avatar_url":"https://avatars.githubusercontent.com/u/502432?v=3","gravatar_id":"","url":"https://api.github.com/users/jsr6720","html_url":"https://github.com/jsr6720","followers_url":"https://api.github.com/users/jsr6720/followers","following_url":"https://api.github.com/users/jsr6720/following{/other_user}","gists_url":"https://api.github.com/users/jsr6720/gists{/gist_id}","starred_url":"https://api.github.com/users/jsr6720/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsr6720/subscriptions","organizations_url":"https://api.github.com/users/jsr6720/orgs","repos_url":"https://api.github.com/users/jsr6720/repos","events_url":"https://api.github.com/users/jsr6720/events{/privacy}","received_events_url":"https://api.github.com/users/jsr6720/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/material/labels/browser:%20IE","name":"browser: IE","color":"fbca04"},{"url":"https://api.github.com/repos/angular/material/labels/type:%20bug","name":"type: bug","color":"000000"},{"url":"https://api.github.com/repos/angular/material/labels/ui:%20CSS","name":"ui: CSS","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-30T20:32:19Z","updated_at":"2015-10-08T14:01:28Z","closed_at":"2015-10-08T14:01:28Z","body":"(From the code pen example)\r\n```javascript\r\n$mdToast.show(\r\n                                $mdToast.simple()\r\n                                    .content(translation)\r\n                                    .position('top center')\r\n                                    .parent(container)\r\n                                    .hideDelay(6000)\r\n                            );\r\n```\r\nCenter works fine in FF and Chrome. Left aligns in IE 11.\r\nCSS fix for working in IE 11.\r\n```css\r\nmd-toast {\r\n    width: 100%;\r\n}\r\n```"}}