fix(tasks): alignment of checkbox

This commit is contained in:
Elian Doran 2025-02-26 22:43:34 +02:00
parent 09f7645925
commit 5d61f9fb12
No known key found for this signature in database

View File

@ -100,8 +100,10 @@ function buildTasks(tasks: FTask[]) {
html += `<li class="${classes.join(" ")}" data-task-id="${task.taskId}">`;
html += "<header>";
html += '<span class="title">';
html += `<input type="checkbox" class="check" ${task.isDone ? "checked" : ""} />`;
html += `<span class="title">${task.title}</span>`;
html += `${task.title}</span>`;
html += '</span>';
if (task.dueDate) {
html += `<span class="due-date">`;
html += `<span class="bx bx-calendar"></span> `;