diff --git a/ui/src/features/module/ModuleCard.svelte b/ui/src/features/module/ModuleCard.svelte
index e2bc81e..b1da4da 100644
--- a/ui/src/features/module/ModuleCard.svelte
+++ b/ui/src/features/module/ModuleCard.svelte
@@ -841,7 +841,10 @@
- {#if module.params.length > 0 || expanded}
+
+ {#if module.params.length > 0 || expanded || artwork || variants.length > 1}
{#if artwork}
+
1 ? 'min-w-52' : 'min-w-0']}
+ {@attach measureControls}
+ >
{#if variants.length > 1}
+ anything else in the rack; the trigger truncates instead — from the
+ start, since captures of one tone share their opening words and
+ differ in the last ones ("… (mid gain)", "… (high gain)"). -->
+{#snippet label(text: string)}
+ {#if truncate === 'start'}
+
{text}
+ {:else}
+
{text}
+ {/if}
+{/snippet}
+
open, setOpen}
maxHeight={MENU_MAX_HEIGHT}
@@ -206,7 +228,7 @@
{disabled}
aria-label={ariaLabel}
>
- {selectedLabel || placeholder}
+ {@render label(selectedLabel || placeholder)}
{/if}
@@ -244,7 +266,7 @@
onmouseenter={() => (highlight = i)}
onclick={() => choose(o.value)}
>
- {o.label}
+ {#if truncate === 'start'}{@render label(o.label)}{:else}{o.label}{/if}
{:else}