diff --git a/bun.lockb b/bun.lockb index 19866bfb..868bcd47 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 3fa689cd..5a9e6288 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "@tailwindcss/postcss": "^4.1.8", "@types/nprogress": "^0.2.0", "@types/ua-parser-js": "^0.7.39", - "@xylightdev/svelte-hero-icons": "^2.2.4", + "@xylightdev/svelte-hero-icons": "^2.2.7", "eslint": "^9.28.0", "eslint-plugin-svelte": "^3.11.0", "jsdom": "^22.1.0", diff --git a/src/lib/components/lemmy/post/media/PostImage.svelte b/src/lib/components/lemmy/post/media/PostImage.svelte index b50c2735..1be8bf54 100644 --- a/src/lib/components/lemmy/post/media/PostImage.svelte +++ b/src/lib/components/lemmy/post/media/PostImage.svelte @@ -24,7 +24,11 @@ showImage(bestImageURL(post, false, -1, null))} @@ -32,14 +36,15 @@ tabindex="0" > - - +
+ +
+ {#each ['webp'] as format} -
+
{#if post.alt_text}
+ {#if blur} + {/if}