Can confirm, the docs say adding the property results in the md-dialog-fullscreen class (or similar) being applied, I've tried using both the property and directly adding the class to my md-dialog element.
@media (max-width: 959px)
md-dialog.md-dialog-fullscreen {
min-height: 100%;
min-width: 100%;
border-radius: 0;
}
md-dialog.md-dialog-fullscreen work on screen < 960px.
Just resize you window or owerride this style.
Anybody knows if there is a more recent option to this?
https://github.com/angular/material/issues/6566#issuecomment-169477258
Thanks.
@jmussett2005 that's the recommended option. See https://github.com/angular/material/issues/5924#issuecomment-159903568 for more details.
From the spec: "Full-screen dialogs: Mobile only: Due to limited space, full-screen dialogs may be more appropriate for mobile devices than dialogs used on devices with larger screens."
Most helpful comment
md-dialog.md-dialog-fullscreen work on screen < 960px.
Just resize you window or owerride this style.