Shadcn DialogContent
Unanswered
European imported fire ant posted this in #help-forum
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
actually, on DialogContent i can just do
min-w-5xl and its solved, but then the width wont be responsive3 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?
@B33fb0n3 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
Sun bear
this or add for both breakpoints e.g.
max-w-xl md:max-w-xl