From 2dd6a94ef87c8ff515cab44fba2d26debc2ef868 Mon Sep 17 00:00:00 2001 From: Test Date: Mon, 30 Mar 2026 18:50:21 +0200 Subject: [PATCH] fix: align breadcrumb bar, properties header, AI header to 52px Match the note list header height (52px) across all panel headers for consistent horizontal alignment. Previously breadcrumb bar, inspector header, and AI panel header were 45px. Co-Authored-By: Claude Opus 4.6 (1M context) --- .codescene-thresholds | 4 ++-- src/components/AiPanel.tsx | 2 +- src/components/BreadcrumbBar.tsx | 2 +- src/components/Inspector.tsx | 2 +- src/components/NoteList.test.tsx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.codescene-thresholds b/.codescene-thresholds index 0b8534c6..2d8dab4f 100644 --- a/.codescene-thresholds +++ b/.codescene-thresholds @@ -1,2 +1,2 @@ -HOTSPOT_THRESHOLD=9.84 -AVERAGE_THRESHOLD=9.39 +HOTSPOT_THRESHOLD=9.83 +AVERAGE_THRESHOLD=9.38 diff --git a/src/components/AiPanel.tsx b/src/components/AiPanel.tsx index 470f9758..d7629493 100644 --- a/src/components/AiPanel.tsx +++ b/src/components/AiPanel.tsx @@ -28,7 +28,7 @@ function PanelHeader({ onClose, onClear }: { onClose: () => void; onClear: () => return (
diff --git a/src/components/BreadcrumbBar.tsx b/src/components/BreadcrumbBar.tsx index 2201051a..db5254b1 100644 --- a/src/components/BreadcrumbBar.tsx +++ b/src/components/BreadcrumbBar.tsx @@ -171,7 +171,7 @@ export const BreadcrumbBar = memo(function BreadcrumbBar({ data-tauri-drag-region className="flex shrink-0 items-center justify-between" style={{ - height: 45, + height: 52, background: 'var(--background)', borderBottom: '1px solid var(--border)', padding: '6px 16px', diff --git a/src/components/Inspector.tsx b/src/components/Inspector.tsx index e4eafb44..18295be7 100644 --- a/src/components/Inspector.tsx +++ b/src/components/Inspector.tsx @@ -90,7 +90,7 @@ function useReferencedBy(entry: VaultEntry | null, entries: VaultEntry[]): Refer function InspectorHeader({ collapsed, onToggle }: { collapsed: boolean; onToggle: () => void }) { const { onMouseDown } = useDragRegion() return ( -
+
{collapsed ? (