Position / Scale
{#if isMobile && onClose}
{/if}
{#snippet child({ props })}
Position
{/snippet}
{#snippet child({ props })}
Margins
{/snippet}
{#each positionBalls as ball, index (index)}
{/each}
Scale
{scale.toFixed(1)}x
scale, (value) => { scale = value; mockupStore.updateDevicePosition({ scale: value }); } } />
Fixed Margin
{ console.log('e', e); }} class="inline-flex size-5 items-center justify-center rounded-md border-2 border-text bg-bg transition active:scale-[0.98] data-[state=checked]:bg-text" > {#snippet children({ checked })} {#if checked}
{/if} {/snippet}
{#if fixedMargin}
handleMarginPresetChange('small')} > Small
handleMarginPresetChange('medium')} > Medium
handleMarginPresetChange('large')} > Large
{/if}