make fixed width to dialog material ui code example
Example: material ui chaging the size of a dialog
<Dialog>
fullWidth={true}
maxWidth={'md'} // 'sm' || 'md' || 'lg' || 'xl'
</Dialog>
<Dialog>
fullWidth={true}
maxWidth={'md'} // 'sm' || 'md' || 'lg' || 'xl'
</Dialog>