Skip to content

The only tool you need to know what is happening and how to fix it.

feat: implemented proper attribute expand feature

ddux8a5ccff63f08
diff --git a/frontend/src/lib/components/attributes-display.svelte b/frontend/src/lib/components/attributes-display.svelte
index e0c51b06..3ab7cc8d 100644
--- a/frontend/src/lib/components/attributes-display.svelte
+++ b/frontend/src/lib/components/attributes-display.svelte
@@ -6,7 +6,7 @@
maxInlineTags?: number;
}
- let { attributes, maxInlineTags = 3 }: Props = $props();
+ let { attributes, maxInlineTags = 2 }: Props = $props();
const entries = $derived(
Object.entries(attributes || {}).sort((a, b) => a[0].localeCompare(b[0]))
@@ -28,7 +28,7 @@
{/each}
{#if hasMore}
<Popover.Root>
- <Popover.Trigger>
+ <Popover.Trigger onclick={(e) => e.stopPropagation()}>
<span
class="cursor-pointer text-xs text-muted-foreground underline underline-offset-2 hover:text-foreground"
>