diff --git a/Dockerfile b/Dockerfile index 12ad673..087b3e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,4 +15,4 @@ ENV ORIGIN=http://localhost:3000 RUN deno cache --import-map=import_map.json ./build/index.js EXPOSE 3000 -CMD [ "deno", "run", "--allow-env", "--allow-read", "--allow-net", "--allow-sys", "--import-map=import_map.json", "./build/index.js" ] +CMD [ "deno", "run", "--allow-env", "--allow-read", "--allow-net=0.0.0.0:3000", "--allow-sys=homedir", "--import-map=import_map.json", "./build/index.js" ] diff --git a/src/app.css b/src/app.css index c036bb1..c15dc2d 100644 --- a/src/app.css +++ b/src/app.css @@ -332,9 +332,10 @@ border-primary-200 has-[:hover]:border-primary-700; @apply dark:bg-primary-1000 dark:border-primary-800 dark:has-[:hover]:bg-primary-950 dark:has-[:hover]:border-primary-500; - max-width: 300px; - min-width: 200px; - overflow: hidden; + max-width: 450px; + min-width: 300px; + overflow-x: auto; + overflow-y: hidden; } /* Tooltip */ diff --git a/src/lib/components/CommentBox.svelte b/src/lib/components/CommentBox.svelte index cf08468..5a7396e 100644 --- a/src/lib/components/CommentBox.svelte +++ b/src/lib/components/CommentBox.svelte @@ -622,22 +622,22 @@ {/if} -
+
{#if userProfile} -
+
{#if userProfile.picture} {userProfile.name (e.target as HTMLImageElement).style.display = 'none'} /> {:else} -
+
{/if} - + {userProfile.displayName || userProfile.name || "anon"} @@ -646,8 +646,8 @@ {/if}
diff --git a/src/lib/components/ZettelEditor.svelte b/src/lib/components/ZettelEditor.svelte index 52ec27f..3a6de2c 100644 --- a/src/lib/components/ZettelEditor.svelte +++ b/src/lib/components/ZettelEditor.svelte @@ -179,7 +179,7 @@ import Asciidoctor from "asciidoctor";

Unified AsciiDoc Publisher

-
+