diff --git a/package.json b/package.json
index ad08e28d..4886c687 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "photon-lemmy",
- "version": "2.2.2",
+ "version": "2.3.0",
"license": "AGPL-3.0-only",
"devDependencies": {
"@dicebear/core": "^9.3.1",
diff --git a/src/lib/feature/post/form/PostForm.svelte b/src/lib/feature/post/form/PostForm.svelte
index e172391f..4d612908 100644
--- a/src/lib/feature/post/form/PostForm.svelte
+++ b/src/lib/feature/post/form/PostForm.svelte
@@ -175,40 +175,42 @@
{#snippet autofillPostModal()}
{#if form.url}
- {#await autofill(new URL(form.url))}
-
-
- {$t('form.post.fetching')}
-
-
-
- {:then url}
- {#if !url}
-
- {history.back()}
- {/if}
-
- {url.title}
- {url.body ?? '...'}
-
-
- {:catch err}
-
- {/await}
-
- {$t('form.post.autosubmit')}
-
+ {#key form.url}
+ {#await autofill(new URL(form.url))}
+
+
+ {$t('form.post.fetching')}
+
+
+
+ {:then url}
+ {#if !url}
+
+ {history.back()}
+ {/if}
+
+ {url.title}
+ {url.body ?? '...'}
+
+
+ {:catch err}
+
+ {/await}
+
+ {$t('form.post.autosubmit')}
+
+ {/key}
{/if}
{/snippet}
diff --git a/src/lib/feature/post/media/PostMediaCompact.svelte b/src/lib/feature/post/media/PostMediaCompact.svelte
index 69bf2c89..c6fe888e 100644
--- a/src/lib/feature/post/media/PostMediaCompact.svelte
+++ b/src/lib/feature/post/media/PostMediaCompact.svelte
@@ -161,7 +161,6 @@
}
.post-media-indicator {
- /*bg-linear-180 from-zinc-900/0 to-zinc-900/95 h-16 absolute bottom-0 w-full left-0 flex items-end p-2*/
position: absolute;
bottom: 0;
left: 0;
@@ -170,6 +169,8 @@
padding: calc(var(--spacing) * 2);
height: calc(var(--spacing) * 16);
width: 100%;
+ border-bottom-left-radius: inherit;
+ border-bottom-right-radius: inherit;
background-image: linear-gradient(
to bottom,
diff --git a/src/lib/ui/shared/modal/ModalContainer.svelte b/src/lib/ui/shared/modal/ModalContainer.svelte
index 0d8b12eb..273e52ae 100644
--- a/src/lib/ui/shared/modal/ModalContainer.svelte
+++ b/src/lib/ui/shared/modal/ModalContainer.svelte
@@ -4,39 +4,41 @@
import { shownModal } from './modal'
-{#if $shownModal}
- shownModal.set(undefined)}
- open={!!$shownModal}
- >
- {#if $shownModal.snippet}
- {@render $shownModal.snippet?.()}
- {/if}
- {#if $shownModal.body}
- {$shownModal.body}
- {/if}
- {#if $shownModal.actions}
-
- {#each $shownModal.actions as action (action)}
-
- {/each}
-
- {/if}
-
-{/if}
+{#key $shownModal}
+ {#if $shownModal}
+ shownModal.set(undefined)}
+ open={!!$shownModal}
+ >
+ {#if $shownModal.snippet}
+ {@render $shownModal.snippet?.()}
+ {/if}
+ {#if $shownModal.body}
+ {$shownModal.body}
+ {/if}
+ {#if $shownModal.actions}
+
+ {#each $shownModal.actions as action (action)}
+
+ {/each}
+
+ {/if}
+
+ {/if}
+{/key}