File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
src/routes/[pid=pid]/[org]/[repo]/[id=number] Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 552552 >
553553 <Steps class =" my-4" >
554554 {#each commits as commit (commit .sha )}
555- {@const [commitMessage , ... commitDescription ] = commit .commit .message .split (" \n " )}
555+ {@const [commitMessage , ... commitDescriptions ] = commit .commit .message .split (" \n " )}
556+ {@const commitDescription = commitDescriptions .join (" \n " ).trim ()}
556557 <Step icon ={GitCommitVertical }>
557558 <div class =" flex flex-col-reverse items-start justify-between sm:flex-row sm:gap-16" >
558559 <!-- Left part: commit message, description & author -->
595596 {/if }
596597 {/if }
597598 </div >
598- {#if commitDescription .length > 0 }
599- <MarkdownRenderer
600- markdown ={commitDescription .join (" " )}
601- class =" prose-sm max-w-full text-muted-foreground"
602- />
599+ {#if commitDescriptions .length }
600+ <pre class ="text-sm text-muted-foreground" >{commitDescription }</pre >
603601 {/if }
604602 </div >
605603 <!-- Right part: verification badge & sha -->
You can’t perform that action at this time.
0 commit comments