mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-16 04:21:11 +00:00
fix: use full width for audit log filters
This commit is contained in:
@@ -61,15 +61,18 @@
|
|||||||
|
|
||||||
<Popover.Root bind:open {...restProps}>
|
<Popover.Root bind:open {...restProps}>
|
||||||
<Popover.Trigger>
|
<Popover.Trigger>
|
||||||
<Button
|
{#snippet child({ props })}
|
||||||
variant="outline"
|
<Button
|
||||||
role="combobox"
|
variant="outline"
|
||||||
aria-expanded={open}
|
role="combobox"
|
||||||
class={cn('justify-between', restProps.class)}
|
aria-expanded={open}
|
||||||
>
|
{...props}
|
||||||
{items.find((item) => item.value === value)?.label || selectText}
|
class={cn('justify-between', restProps.class)}
|
||||||
<LucideChevronDown class="ml-2 size-4 shrink-0 opacity-50" />
|
>
|
||||||
</Button>
|
{items.find((item) => item.value === value)?.label || selectText}
|
||||||
|
<LucideChevronDown class="ml-2 size-4 shrink-0 opacity-50" />
|
||||||
|
</Button>
|
||||||
|
{/snippet}
|
||||||
</Popover.Trigger>
|
</Popover.Trigger>
|
||||||
<Popover.Content class="p-0" sameWidth>
|
<Popover.Content class="p-0" sameWidth>
|
||||||
<Command.Root shouldFilter={false}>
|
<Command.Root shouldFilter={false}>
|
||||||
|
|||||||
Reference in New Issue
Block a user