How to set a height to a Dialog in material-ui?

Posted by Jessica Taylor | Updated on

Want to set a height to a Dialog in material-ui? If you need to set the Dialog height to some percentage of the viewport, override the paper class, defining min-height and max-height in a manner similar to the example below:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers