File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,15 +97,6 @@ export function TaskDetail({
9797 </ span >
9898 </ div >
9999
100- { /* Description */ }
101- < div >
102- { task . description ? (
103- < Markdown content = { task . description } className = "prose-sm prose-p:my-1 prose-headings:text-sm prose-headings:mt-3 prose-headings:mb-1 prose-ul:my-1 prose-ol:my-1 prose-li:my-0" />
104- ) : (
105- < p className = "text-sm italic text-ink-faint" > No description</ p >
106- ) }
107- </ div >
108-
109100 { /* Subtasks */ }
110101 { task . subtasks . length > 0 && (
111102 < div className = "flex flex-col gap-1" >
@@ -156,6 +147,15 @@ export function TaskDetail({
156147 </ div >
157148 ) }
158149
150+ { /* Description */ }
151+ < div >
152+ { task . description ? (
153+ < Markdown content = { task . description } className = "prose-sm prose-p:my-1 prose-headings:text-sm prose-headings:mt-3 prose-headings:mb-1 prose-ul:my-1 prose-ol:my-1 prose-li:my-0" />
154+ ) : (
155+ < p className = "text-sm italic text-ink-faint" > No description</ p >
156+ ) }
157+ </ div >
158+
159159 { /* Timestamps */ }
160160 < div className = "flex flex-col gap-1 text-xs text-ink-faint" >
161161 < span > Created { formatDate ( task . created_at ) } </ span >
You can’t perform that action at this time.
0 commit comments