Is there a way to convert the positioning of a mat-dialog from center
(on desktop) to bottom in full width
(on mobile devices)? I want it to resemble a dialog on larger screens and a bottom-sheet on smaller devices. Currently, I have achieved this using the breakpointObserver
by listening for breakpoint changes and updating the configuration properties.
However, I would like to find a solution using CSS media queries instead. Any guidance on how to accomplish this would be greatly appreciated.