mirror of
https://github.com/Luchexx/wacrm.git
synced 2026-11-02 09:19:51 +00:00
Merge pull request #131 from ArnasDon/fix/flows-dialog-actually-wider
fix(flows): create-flow dialog was still clamped to 384px — override sm: variant
This commit is contained in:
commit
39b03f1299
@ -245,7 +245,11 @@ export default function FlowsPage() {
|
||||
)}
|
||||
|
||||
<Dialog open={createOpen} onOpenChange={setCreateOpen}>
|
||||
<DialogContent className="max-w-3xl bg-slate-900 text-slate-100">
|
||||
{/* `sm:max-w-4xl` not `max-w-4xl` — shadcn's DialogContent has
|
||||
`sm:max-w-sm` baked into its default classes. Without the
|
||||
sm: prefix our override applies at base only and the
|
||||
sm-scoped 384px wins at every real desktop breakpoint. */}
|
||||
<DialogContent className="sm:max-w-4xl bg-slate-900 text-slate-100">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Create a new flow</DialogTitle>
|
||||
<DialogDescription className="text-slate-400">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user