diff --git a/src/lib/components/ZettelEditor.svelte b/src/lib/components/ZettelEditor.svelte index 00b6add..450fbab 100644 --- a/src/lib/components/ZettelEditor.svelte +++ b/src/lib/components/ZettelEditor.svelte @@ -706,6 +706,8 @@ ".cm-content": { padding: "16px", minHeight: "100%", + maxWidth: "900px", + margin: "0 auto", }, ".cm-editor": { borderRadius: "0.5rem", @@ -881,7 +883,7 @@ (showTutorial && showStructurePreview) ? 'lg:w-1/3' : showPreview || showTutorial || showStructurePreview - ? 'lg:w-1/2' + ? 'lg:w-3/5' : 'w-full'} flex flex-col" >
+
{#if !content.trim()}
- - {#if publicationResult.metadata.attributes.tags} - {@const tagsList = - publicationResult.metadata.attributes.tags - .split(",") - .map((t: string) => t.trim())} - {#if tagsList.length > 0} -
-
- Document tags: - {#each tagsList as tag} -
- # - {tag} -
- {/each} -
-
- {/if} - {/if}
{/if} @@ -1158,6 +1134,7 @@ {/if}
{/if} +
@@ -1168,7 +1145,7 @@
Compose Note - Alexandria - -
+ +
Compose Notes