diff --git a/assets/style.css b/assets/style.css index 7126f67..0b83b7b 100644 --- a/assets/style.css +++ b/assets/style.css @@ -791,6 +791,15 @@ aside.sidebar:empty { display: none; } } .todo-rail .cm-editor { max-height: 40vh; } .todo-rail .cm-content { padding-right: var(--space-2); } +/* Hanging indent per task. Each todo (one logical line) starts flush-left and + its wrapped continuation lines are indented, so a new task is distinguishable + from a wrapped line even when it has no leading priority/date/x marker. The + indent is character-relative (ch) because it aligns to the monospace text, + not to the layout's spacing scale. */ +.todo-rail .cm-line { + padding-left: 2ch; + text-indent: -2ch; +} .todo-rail .todo-fallback { width: 100%; min-height: 10rem;