From 3bc325810ebd1a448ad2e3943ab9fb064258cefb Mon Sep 17 00:00:00 2001 From: Xyphyn Date: Thu, 28 Sep 2023 17:46:41 -0700 Subject: [PATCH] upgrade: mono-svelte 0.3.8 -> 0.4.1 --- package.json | 2 +- src/lib/components/lemmy/post/PostMeta.svelte | 4 +-- .../post/[instance]/[id=integer]/+page.svelte | 35 +++++++++++++------ yarn.lock | 8 ++--- 4 files changed, 32 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index f60a97ac..94fa7b54 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@dicebear/core": "^6.0.4", "@dicebear/initials": "^6.0.4", "markdown-it": "^13.0.1", - "mono-svelte": "^0.3.7" + "mono-svelte": "^0.4.1" }, "type": "module" } diff --git a/src/lib/components/lemmy/post/PostMeta.svelte b/src/lib/components/lemmy/post/PostMeta.svelte index cf4bde0c..e5fc3091 100644 --- a/src/lib/components/lemmy/post/PostMeta.svelte +++ b/src/lib/components/lemmy/post/PostMeta.svelte @@ -116,7 +116,7 @@ {/if} {#if removed} - + Removed @@ -128,7 +128,7 @@ {/if} {#if featured} - + Featured diff --git a/src/routes/post/[instance]/[id=integer]/+page.svelte b/src/routes/post/[instance]/[id=integer]/+page.svelte index 3a567140..55854b05 100644 --- a/src/routes/post/[instance]/[id=integer]/+page.svelte +++ b/src/routes/post/[instance]/[id=integer]/+page.svelte @@ -18,7 +18,14 @@ } from 'svelte-hero-icons' import PostLink from '$lib/components/lemmy/post/PostLink.svelte' import PostMeta from '$lib/components/lemmy/post/PostMeta.svelte' - import { Badge, Material, Spinner, removeToast, toast } from 'mono-svelte' + import { + Badge, + Material, + Select, + Spinner, + removeToast, + toast, + } from 'mono-svelte' import type { CommentSortType } from 'lemmy-js-client' import MultiSelect from '$lib/components/input/Switch.svelte' import { profile } from '$lib/auth.js' @@ -262,17 +269,25 @@
- Comments + Comments
-
- +
+ @@ -298,9 +313,9 @@ {:else}