diff --git a/packages/client/src/components/preview/Indicator.svelte b/packages/client/src/components/preview/Indicator.svelte index fb1b5f320f..95364d0278 100644 --- a/packages/client/src/components/preview/Indicator.svelte +++ b/packages/client/src/components/preview/Indicator.svelte @@ -18,10 +18,11 @@ }} out:fade={{ duration: transition ? 130 : 0 }} class="indicator" + class:flipped={top < 20} style="top: {top}px; left: {left}px; width: {width}px; height: {height}px; --color: {color}; --zIndex: {zIndex};" > {#if text} -
+
{text}
{/if} @@ -29,11 +30,17 @@