Question for css experts: strike-through for inline-todos

Dear all,

I would like to modify the appearance of the text line in inline-todos that are completed.

Currently when I check an inline-todo as done, the text is greyed slightly. I would like to have it stroken through as well.

I suppose I would need something like
text-decoration-line: line-through;
but I don't know where to put it to be valid for every inline-todo.

Any suggestions would be welcome.

Regards,
kai.

Try putting the below in userstyle.css.

li.checked,
.checkbox-label-checked {
    text-decoration-line: line-through;
}

li-checked should add the strikethrough to checked checkboxes in the Rich-text editor and .checkbox-label-checked in the Markdown editor viewer pane.

1 Like

Perfect, thank you very much.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.