{monthName}

{#each grid as date (date.toISOString())} {@const tasks = tasksOn(date)} {@const outside = date.getMonth() !== cursor.getMonth()}
onDragOver(e, date)} ondragleave={() => (over = null)} ondrop={(e) => onDrop(e, date)} > {date.getDate()} {#each tasks.slice(0, 3) as task (task.id)} {/each} {#if tasks.length > 3} +{tasks.length - 3} mere {/if}
{/each}