From c4ed3cbe367da1ceb11402c8e9c54aa63f69d98d Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 1 Feb 2023 08:29:03 +0000 Subject: [PATCH] Update tour popover to work without data-cy --- .../portal/onboarding/TourPopover.svelte | 66 ++++++++++--------- 1 file changed, 36 insertions(+), 30 deletions(-) diff --git a/packages/builder/src/components/portal/onboarding/TourPopover.svelte b/packages/builder/src/components/portal/onboarding/TourPopover.svelte index 0eabfd678b..2e225c6a1c 100644 --- a/packages/builder/src/components/portal/onboarding/TourPopover.svelte +++ b/packages/builder/src/components/portal/onboarding/TourPopover.svelte @@ -115,42 +115,48 @@ anchor={popoverAnchor} maxWidth={300} dismissible={false} + offset={15} > - -
- {tourStep?.title || "-"} -
{`${tourStepIdx + 1}/${tourSteps?.length}`}
-
- - - {#if tourStep.layout} - - {:else} - {tourStep?.body || ""} - {/if} - - -