feat(ComboControl): add reduced flag that removes increase/decrease buttons keeping the slider popover
This commit is contained in:
@@ -31,7 +31,7 @@ $effect(() => {
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="py-2 px-10 flex flex-row items-center gap-2">
|
||||
<div class="sm:py-2 sm:px-10 flex flex-row items-center gap-2">
|
||||
<div class="flex flex-row gap-3">
|
||||
{#each controlManager.controls as control (control.id)}
|
||||
<ComboControl
|
||||
@@ -39,6 +39,7 @@ $effect(() => {
|
||||
increaseLabel={control.increaseLabel}
|
||||
decreaseLabel={control.decreaseLabel}
|
||||
controlLabel={control.controlLabel}
|
||||
reduced={responsive.isMobile}
|
||||
/>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user