From 3939ba1e97ee5e86c99295eee27623187ffa5232 Mon Sep 17 00:00:00 2001 From: lucaronin Date: Tue, 17 Feb 2026 18:20:26 +0100 Subject: [PATCH] feat: increase Inspector section spacing to 16px with flex gap Replace individual mb-4 margins with a flex column gap-4 on the container, ensuring consistent 16px spacing between Inspector sections. Co-Authored-By: Claude Opus 4.6 --- src/components/DynamicPropertiesPanel.tsx | 2 +- src/components/Inspector.tsx | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/DynamicPropertiesPanel.tsx b/src/components/DynamicPropertiesPanel.tsx index b3aab1d3..2dbf8623 100644 --- a/src/components/DynamicPropertiesPanel.tsx +++ b/src/components/DynamicPropertiesPanel.tsx @@ -198,7 +198,7 @@ export function DynamicPropertiesPanel({ } return ( -
+

Properties

{entry.isA && ( diff --git a/src/components/Inspector.tsx b/src/components/Inspector.tsx index aff8d48c..16e1d554 100644 --- a/src/components/Inspector.tsx +++ b/src/components/Inspector.tsx @@ -77,7 +77,7 @@ function DynamicRelationshipsPanel({ frontmatter, onNavigate }: { frontmatter: P }, [frontmatter]) return ( -
+

Relationships

{relationshipEntries.length === 0 ? (

No relationships

@@ -122,7 +122,7 @@ function useBacklinks(entry: VaultEntry | null, entries: VaultEntry[], allConten function BacklinksPanel({ backlinks, onNavigate }: { backlinks: VaultEntry[]; onNavigate: (target: string) => void }) { return ( -
+

Backlinks {backlinks.length > 0 && {backlinks.length}}

@@ -160,7 +160,7 @@ function formatRelativeDate(timestamp: number): string { function GitHistoryPanel({ commits }: { commits: GitCommit[] }) { return ( -
+

History

{commits.length === 0 ? (

No revision history

@@ -189,19 +189,19 @@ function GitHistoryPanel({ commits }: { commits: GitCommit[] }) { function EmptyInspector() { return ( <> -
+

Properties

No note selected

-
+

Relationships

No relationships

-
+

Backlinks

No backlinks

-
+

History

No revision history

@@ -249,7 +249,7 @@ export function Inspector({ )}
{!collapsed && ( -
+
{entry ? ( <>