design: space out markdown paragraphs

This commit is contained in:
James Xylight committed 2025-08-26 18:55:19 -07:00
1 parent 25c879d173
commit caa58635f9
5 files changed
+6 -16

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@
<article
dir="auto"
class={[!noStyle && 'break-words space-y-2 leading-normal', clazz]}
class={[!noStyle && 'break-words space-y-4 leading-normal', clazz]}
{style}
>
<SvelteMarkdown
@@ -9,12 +9,12 @@
let { children } = $props()
</script>
<p class="leading-normal break-words {options.inline ? '' : 'max-w'}">
<p class="leading-[1.7] break-words {options.inline ? '' : 'max-w'}">
{@render children?.()}
</p>
<style>
.max-w {
max-width: 80ch;
max-width: 70ch;
}
</style>