fix: improve list markdown rendering

This commit is contained in:
Ruben Fiszel
2024-04-24 23:51:48 +02:00
parent f1acdd7eb7
commit 8bdebcf212
2 changed files with 12 additions and 1 deletions
+11
View File
@@ -17,6 +17,17 @@
font-display: swap;
}
.prose-xs ul {
margin-top: 0.5rem;
list-style-type: '- ';
padding-left: 1.5rem;
}
.prose ul {
margin-top: 1.5rem;
list-style-type: '- ';
padding-left: 3rem;
}
.splitpanes--vertical > .splitpanes__pane {
transition: none !important;
}
@@ -518,7 +518,7 @@
</div>
</div>
{:else if !forceJson && resultKind == 'markdown'}
<div class="prose-xs dark:prose-invert">
<div class="prose-xs dark:prose-invert !list-disc !list-outside">
<Markdown md={result?.md ?? result?.markdown} />
</div>
{:else if !forceJson && isTableDisplay && richRender}