Skip to content

Commit e7033b0

Browse files
committed
Fix wrapped select-trigger widths
1 parent fa40eb4 commit e7033b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/viewer/src/lib/components/field-editors/select.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
</script>
9191

9292
{#snippet trigger({ props }: { props: Record<string, unknown> })}
93-
<div class="relative">
93+
<div class="relative w-full">
9494
<Button disabled={readonly} bind:ref={triggerRef} variant="outline" {...props} role="combobox" aria-expanded={open}
9595
class={cn('w-full h-auto min-h-10 px-2 justify-between disabled:opacity-100 disabled:border-transparent', className)}>
9696
{#if value}

frontend/viewer/src/lib/components/ui/select/select-trigger.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
const style = $derived(mergeProps({style: styleProps}).style);
2424
</script>
2525

26-
<div class={cn('relative group', className)} {style}>
26+
<div class={cn('relative group w-full', className)} {style}>
2727
<SelectPrimitive.Trigger
2828
bind:ref
2929
class={cn(

0 commit comments

Comments
 (0)