{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/6871","repository_url":"https://api.github.com/repos/angular/material","labels_url":"https://api.github.com/repos/angular/material/issues/6871/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/6871/comments","events_url":"https://api.github.com/repos/angular/material/issues/6871/events","html_url":"https://github.com/angular/material/issues/6871","id":129174556,"number":6871,"title":"md-dialog sizing feature broken in new releases","user":{"login":"manish2535","id":4663798,"avatar_url":"https://avatars.githubusercontent.com/u/4663798?v=3","gravatar_id":"","url":"https://api.github.com/users/manish2535","html_url":"https://github.com/manish2535","followers_url":"https://api.github.com/users/manish2535/followers","following_url":"https://api.github.com/users/manish2535/following{/other_user}","gists_url":"https://api.github.com/users/manish2535/gists{/gist_id}","starred_url":"https://api.github.com/users/manish2535/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manish2535/subscriptions","organizations_url":"https://api.github.com/users/manish2535/orgs","repos_url":"https://api.github.com/users/manish2535/repos","events_url":"https://api.github.com/users/manish2535/events{/privacy}","received_events_url":"https://api.github.com/users/manish2535/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/material/labels/P1%20-%20Broken%20Renders%20/%20Major%20Use%20Cases","name":"P1 - Broken Renders / Major Use Cases","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/material/labels/ui:%20flexbox","name":"ui: flexbox","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/angular/material/milestones/41","html_url":"https://github.com/angular/material/milestones/1.0.5","labels_url":"https://api.github.com/repos/angular/material/milestones/41/labels","id":1508110,"number":41,"title":"1.0.5","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":58,"closed_issues":41,"state":"open","created_at":"2016-01-15T01:16:22Z","updated_at":"2016-02-04T20:51:05Z","due_on":"2016-02-05T06:00:00Z","closed_at":null},"comments":3,"created_at":"2016-01-27T15:18:52Z","updated_at":"2016-02-04T20:51:05Z","closed_at":"2016-02-04T20:51:05Z","body":"In recent releases `<md-dialog>` is wrapped into another md-dialog-container. Due to this the sizing feature of the dialogs has stopped working.\r\n\r\nThe sizing will only work if the parent element has a layout=\"row\" attribute added. Since md-dialog-container is added dynamically, we cant add that attribute either. \r\n\r\nHere is the piece of styling that is supposed to take care of it- \r\n\r\n```css\r\n.layout-row > .flex-66, .layout-row > .flex-66, \r\n.layout-row > .flex-66, .layout-row > .flex-66 {\r\n\r\n  -webkit-flex: 1 1 66%;\r\n      -ms-flex: 1 1 66%;\r\n          flex: 1 1 66%;\r\n  max-width: calc(200% / 3);\r\n  max-height: 100%;\r\n  box-sizing: border-box; \r\n\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/180044415","html_url":"https://github.com/angular/material/issues/6871#issuecomment-180044415","issue_url":"https://api.github.com/repos/angular/material/issues/6871","id":180044415,"user":{"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},"created_at":"2016-02-04T20:51:05Z","updated_at":"2016-02-04T20:51:05Z","body":"The dialog sizing is NOT affected with the Layout API; these directives `layout`, `flex` (etc) only affects the containers and element **inside** the dialog."}}