Hanging indent for todos
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user