diff --git a/packages/client/src/components/preview/DNDHandler.svelte b/packages/client/src/components/preview/DNDHandler.svelte index 7d83e0998c..8a824f6131 100644 --- a/packages/client/src/components/preview/DNDHandler.svelte +++ b/packages/client/src/components/preview/DNDHandler.svelte @@ -1,3 +1,12 @@ + + -{#key `${dropInfo?.target}-${dropInfo?.mode}`} +{#key renderKey} {#if dimensions && dropInfo?.mode !== "inside"} {/if} diff --git a/packages/client/src/components/preview/Indicator.svelte b/packages/client/src/components/preview/Indicator.svelte index e4082f6f7c..212cd1671d 100644 --- a/packages/client/src/components/preview/Indicator.svelte +++ b/packages/client/src/components/preview/Indicator.svelte @@ -10,6 +10,7 @@ export let zIndex export let transition = false export let line = false + export let alignRight = false $: flipped = top < 20 @@ -26,7 +27,7 @@ style="top: {top}px; left: {left}px; width: {width}px; height: {height}px; --color: {color}; --zIndex: {zIndex};" > {#if text} -
+
{text}
{/if} @@ -34,6 +35,7 @@