From fe79e6131eefcd07fb3de3528f171988df105ac2 Mon Sep 17 00:00:00 2001 From: lucaronin Date: Sat, 28 Feb 2026 10:50:54 +0100 Subject: [PATCH] fix: relationship item input height consistency + X button overlay on hover Co-Authored-By: Claude Opus 4.6 --- src/components/InspectorPanels.tsx | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/src/components/InspectorPanels.tsx b/src/components/InspectorPanels.tsx index 8dfe4035..303d00f4 100644 --- a/src/components/InspectorPanels.tsx +++ b/src/components/InspectorPanels.tsx @@ -2,7 +2,7 @@ import { useMemo, useCallback, useState, useRef } from 'react' import type { ComponentType, SVGAttributes } from 'react' import { wikilinkTarget, wikilinkDisplay } from '../utils/wikilink' import type { VaultEntry, GitCommit } from '../types' -import { Trash, X, Plus } from '@phosphor-icons/react' +import { Trash, X } from '@phosphor-icons/react' import type { ParsedFrontmatter } from '../utils/frontmatter' import { RELATIONSHIP_KEYS, containsWikilinks } from './DynamicPropertiesPanel' import { getTypeColor, getTypeLightColor } from '../utils/typeColors' @@ -48,9 +48,9 @@ function LinkButton({ label, typeColor, bgColor, isArchived, isTrashed, onClick, const isDimmed = isArchived || isTrashed const color = isDimmed ? 'var(--muted-foreground)' : typeColor return ( -
+
) } return (
-
+
setQuery(e.target.value)} @@ -175,14 +174,7 @@ function InlineAddNote({ entries, onAdd }: { data-testid="add-relation-ref-input" /> -