design: space out markdown paragraphs
This commit is contained in:
5 files changed
+6
-16
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user