fix(desktop): roomier kanban create-task modal
The create form was cramped at max-w-md with a 60vh scroll cap. Widen to a responsive w-[min(42rem,94vw)] and raise the scroll cap so the fields breathe.
This commit is contained in:
parent
5c4d1e1ea2
commit
9be67b7762
|
|
@ -615,11 +615,11 @@ function NewTaskDialog({
|
|||
|
||||
return (
|
||||
<Dialog onOpenChange={open => !open && onClose()} open={Boolean(target)}>
|
||||
<DialogContent className="max-w-md">
|
||||
<DialogContent className="w-[min(42rem,94vw)] max-w-none">
|
||||
<DialogHeader>
|
||||
<DialogTitle>New task{target ? ` in ${columnMeta(target).label}` : ''}</DialogTitle>
|
||||
</DialogHeader>
|
||||
<div className="flex max-h-[60vh] flex-col gap-3 overflow-y-auto pr-0.5">
|
||||
<div className="flex max-h-[min(72vh,44rem)] flex-col gap-3 overflow-y-auto pr-0.5">
|
||||
<Input
|
||||
autoFocus
|
||||
onChange={event => setTitle(event.target.value)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue