misc: optimize how expandable images are handled

This commit is contained in:
Xylight committed 2024-02-24 09:54:02 -08:00
1 parent 60dfbabc60
commit 62044ce3b7
5 files changed
+68 -53

No files matched your search

+3
View File
@@ -18,6 +18,7 @@
import Shell from '$lib/components/ui/layout/Shell.svelte'
import SiteCard from '$lib/components/lemmy/SiteCard.svelte'
import { site } from '$lib/lemmy.js'
import ExpandableImage from '$lib/components/ui/ExpandableImage.svelte'
nProgress.configure({
minimum: 0.4,
@@ -83,6 +84,8 @@
>
<Moderation />
<ToastContainer />
<ExpandableImage />
<Navbar
slot="navbar"
let:style={s}