diff --git a/web/README.md b/web/README.md index 0fbfd23..5bfef98 100644 --- a/web/README.md +++ b/web/README.md @@ -78,6 +78,14 @@ project view is currently mounted (`route.name === 'project'`), that project's cards too -- either side of a drag could have been the inbox. A small form under the list adds a card straight to the inbox. +Empty (no cards) is shown as a subtle dashed drop-area rather than blank +space -- `.kanban__cards:empty` in `style.css`, so it's pure CSS keyed off the +real DOM child count. Since a card's kanban column/inbox `` is +always rendered even with nothing in it (see above), that container is +genuinely childless when empty, so the rule applies with no extra markup or +JS state; it steps aside automatically once Sortable inserts its drag-over +ghost. The same rule covers every kanban status column too (below). + ## Project detail `/projects/:id` shows one project. It renders on a **full-width** layout (the diff --git a/web/src/components/AppSidebar.vue b/web/src/components/AppSidebar.vue index 79cb48c..721acce 100644 --- a/web/src/components/AppSidebar.vue +++ b/web/src/components/AppSidebar.vue @@ -139,8 +139,9 @@ async function onInboxChange(change: ColumnChange) {