[Dialog] How to modify max width of dialog box?
See original GitHub issueCurrently I have the Dialog props set to:
title="Dialog"
modal = {true}
actions={standardActions}
autoDetectWindowHeight={false}
autoScrollBodyContent={false}
contentStyle={{width: 700}}
ref="addNewDialog"
If I change contentStyle={{width: 700}} it will not widen. But if I change it to something really small, like 10 px, it works. Does anyone know how I can set it to a much bigger display?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:4
- Comments:17 (2 by maintainers)
Top Results From Across the Web
Dialog width material-ui next - Stack Overflow
Add two props fullWidth and maxWidth="md" in your Dialog component ... You can change md to sm , xs , lg and xl...
Read more >[Dialog] How to modify max width of dialog box? #1467 - GitHub
Currently I have the Dialog props set to: title="Dialog" modal = {true} actions={standardActions} autoDetectWindowHeight={false} ...
Read more >How to Size and Position the MUI Dialog Component - Medium
We can change this by passing fixed positioning to the Paper component, once again passing sx to the Dialog's PaperProps . <Dialog PaperProps={{ ......
Read more >Dialog API - Material UI - MUI
Determine the max-width of the dialog. The dialog width grows with the size of the screen. Set to false to disable maxWidth ....
Read more >jQuery UI Dialog maxWidth Option - GeeksforGeeks
The jQuery UI Dialog maxWidth option is used to set the maximum width to which the dialog can be resized in pixels. Syntax:....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
add div after Dialog and put a size on in
Use
style
instead ofcontentStyle
?