From 88d56032c2ea5cf0ca525667f91eadc1cd63333c Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 30 Nov 2026 11:31:01 +0100 Subject: style(todo): one row of chips, as tall as the running row Stacked full-width lines took too much of the Dashboard. Each task is now a chip, title over its due label, up to three side by side and a "+N" for the rest. Co-Authored-By: Claude Opus 5.5 --- static/dashboard.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'static/dashboard.js') diff --git a/static/dashboard.js b/static/dashboard.js index 1f123a7..7dbf00c 100644 --- a/static/dashboard.js +++ b/static/dashboard.js @@ -183,7 +183,7 @@ const SKELETON = `
- +
`; export default { @@ -343,7 +343,7 @@ export default { for (const t of tasks.slice(0, 3)) { const line = document.createElement("div"); line.className = "td"; - line.innerHTML = ``; + line.innerHTML = ``; line.querySelector(".nf").textContent = G.todo; line.querySelector(".tt").textContent = t.title; const due = dueLabel(t.due); @@ -357,7 +357,7 @@ export default { if (tasks.length > 3) { const more = document.createElement("div"); more.className = "td more"; - more.textContent = `+${tasks.length - 3} more`; + more.textContent = `+${tasks.length - 3}`; todo.append(more); } }; -- cgit v1.2.3