diff --git a/web/src/lib/components/TaskDetail.svelte b/web/src/lib/components/TaskDetail.svelte index b227e41..30cae2e 100644 --- a/web/src/lib/components/TaskDetail.svelte +++ b/web/src/lib/components/TaskDetail.svelte @@ -1115,5 +1115,21 @@ width: auto; border-left: 0; } + + /* Two columns is half a phone each: Prioritet collapses to "Ing" and the + due-row (date + fixed-width time + duration) runs off the right edge. One + column per field gives each its full width; the due-row wraps if even that + is not enough. */ + .grid { + grid-template-columns: 1fr; + } + + .due { + flex-wrap: wrap; + } + + .due input[type='date'] { + flex: 1 1 100%; + } }