df423ab906
.task-main is a flex column. Children default to flex-shrink: 1, so when body content is taller than the available column height, flex squeezes .preview-pane back to its min-height (200px) and the overflow renders visibly on top of subsequent siblings — making the TaskLogSection appear in the middle of the body content. Surfaced by viewing a task with an unusually long markdown body in preview mode. Pre-existed PR 1, just rarely hit. NoteEditorView uses the standard block-flow .editor-main and isn't affected. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>