feat(ComparisonSlider): add orientation prop value

This commit is contained in:
Ilia Mashkov
2026-02-08 14:32:01 +03:00
parent f4875d7324
commit b3c0898735

View File

@@ -194,9 +194,9 @@ $effect(() => {
{#snippet hiddenContent()} {#snippet hiddenContent()}
{#if typography.weightControl && typography.sizeControl && typography.heightControl} {#if typography.weightControl && typography.sizeControl && typography.heightControl}
<div class="flex flex-row justify-between items-center-safe gap-2 sm:gap-0"> <div class="flex flex-row justify-between items-center-safe gap-2 sm:gap-0">
<ComboControlV2 control={typography.weightControl} /> <ComboControlV2 control={typography.weightControl} orientation="vertical" />
<ComboControlV2 control={typography.sizeControl} /> <ComboControlV2 control={typography.sizeControl} orientation="vertical" />
<ComboControlV2 control={typography.heightControl} /> <ComboControlV2 control={typography.heightControl} orientation="vertical" />
</div> </div>
{/if} {/if}
{/snippet} {/snippet}