Next.js Discord

Discord Forum

Shadcn DialogContent

Unanswered
European imported fire ant posted this in #help-forum
Open in Discord
European imported fire antOP
So i have Dialog component where inside it shows a certain table, how to make the dialog's width flexible following the content?

actually, on DialogContent i can just do min-w-5xl and its solved, but then the width wont be responsive

3 Replies

@European imported fire ant So i have Dialog component where inside it shows a certain table, how to make the dialog's width flexible following the content? actually, on DialogContent i can just do `min-w-5xl` and its solved, but then the width wont be responsive
The shadcn dialog has a default max-w of idk. You need to update the max-w to something else. Something bigger. Do for example „max-w-7xl!“ and then add „w-full“ to it as well and it will be waaay bigger
@European imported fire antsolved?