Fullscreen dialog?
Can I make the dialog fullscreen?
Yes. Try h-screen and w-screen in Dialog.Content.
only h-screen works, for width you must use max-w-screen. Even then the content seems to be centered for some reason
Try min-w-full and h-screen
<DialogContent className="max-w-screen h-screen "></DialogContent>
You'll want to add overflow-auto to these, else if the content goes below the fold it won't be visible nor scrollable.
Was running in to this issue the other day, and i can recommend using the max-h-[calc(100dvh)] on the DialogContent to ensure the dialog doesn't run over the bottom and top in Chrome/Safari.
Also adding the overflow class of choice to ensure scrollability.
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.