Skip to content

Commit 5bdb0c8

Browse files
chore: remove all TODOs from code, slightly improve removed lines visibility
1 parent 9128ace commit 5bdb0c8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/lib/components/MarkdownRenderer.svelte

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,11 @@
3434
}: Props = $props();
3535
</script>
3636

37-
<!-- TODO: actually figure out how to overflow-x-auto the code blocks -->
3837
<svelte:element
3938
this={inline ? "span" : "div"}
4039
class={cn(
4140
"prose dark:prose-invert prose-a:wrap-anywhere prose-a:text-primary prose-a:no-underline prose-a:underline-offset-4 prose-a:hover:underline prose-code:wrap-anywhere prose-li:my-1",
42-
"prose-pre:text-wrap", // remove with TODO
41+
"prose-pre:text-wrap",
4342
inline && "*:inline",
4443
className
4544
)}

src/routes/[pid=pid]/[org]/[repo]/[id=number]/PageRenderer.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,6 @@
542542
{/if}
543543
<!-- Files -->
544544
{#if metadata.type === "pull"}
545-
<!-- TODO: detailed diff? -->
546545
<BottomCollapsible
547546
icon={FileDiff}
548547
label="Files"
@@ -696,6 +695,7 @@
696695
697696
span:first-child::before {
698697
content: "-";
698+
font-weight: bold;
699699
color: var(--color-destructive);
700700
}
701701
}

0 commit comments

Comments
 (0)