From 392a1f05eef2b73f6aeae99650afe26e4118af66 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 20 Sep 2021 15:35:27 +0100 Subject: [PATCH] Refactor DND labels to before and after rather then above and below --- .../client/src/components/preview/DNDPositionIndicator.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/preview/DNDPositionIndicator.svelte b/packages/client/src/components/preview/DNDPositionIndicator.svelte index 8565d42f9e..19a44cfccc 100644 --- a/packages/client/src/components/preview/DNDPositionIndicator.svelte +++ b/packages/client/src/components/preview/DNDPositionIndicator.svelte @@ -7,7 +7,7 @@ export let transition $: dimensions = getDimensions(dropInfo?.bounds, dropInfo?.mode) - $: prefix = dropInfo?.mode === "above" ? "Above" : "Below" + $: prefix = dropInfo?.mode === "above" ? "Before" : "After" $: text = `${prefix} ${dropInfo?.name}` const getDimensions = (bounds, mode) => {