Task lists WIP:

* strike tasks when done.
This commit is contained in:
John Livingston 2024-05-06 19:24:59 +02:00
parent 218f36c5c8
commit f1e3de782e
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
2 changed files with 8 additions and 1 deletions

View File

@ -26,6 +26,13 @@
form {
width: 100%;
}
&[task-is-done] {
.task-name,
.task-description {
text-decoration-line: line-through;
}
}
}
}
}

View File

@ -9,7 +9,7 @@ export function tplMucTask (el, task) {
const doneId = 'livechat-task-done-id-' + task.get('id')
return !el.edit
? html`
<div class="task-line">
<div class="task-line" ?task-is-done=${done}>
<div class="form-check">
<input
id="${doneId}"