diff --git a/package.json b/package.json index e799f246..55a2539a 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "dependencies": { "@dicebear/core": "^6.0.4", "@dicebear/initials": "^6.0.4", + "@tailwindcss/container-queries": "^0.1.1", "lemmy-js-client": "^0.18.0-rc.2", "markdown-it": "^13.0.1" }, diff --git a/src/app.d.ts b/src/app.d.ts index 84ae8fc8..46192b10 100644 --- a/src/app.d.ts +++ b/src/app.d.ts @@ -3,7 +3,9 @@ declare global { namespace App { // interface Error {} - // interface Locals {} + interface Locals { + instance?: string + } // interface PageData {} // interface Platform {} } diff --git a/src/lib/components/input/Button.svelte b/src/lib/components/input/Button.svelte index dad18ff0..3112743b 100644 --- a/src/lib/components/input/Button.svelte +++ b/src/lib/components/input/Button.svelte @@ -1,7 +1,7 @@ - + - Comment actions {#if $authData?.token} diff --git a/src/lib/components/lemmy/comment/CommentForm.svelte b/src/lib/components/lemmy/comment/CommentForm.svelte index c10ba640..f8a0c975 100644 --- a/src/lib/components/lemmy/comment/CommentForm.svelte +++ b/src/lib/components/lemmy/comment/CommentForm.svelte @@ -48,14 +48,16 @@ } -
+