fix: match view items to section items style in sidebar

Removed the `compact` prop from view NavItems so they render with the
same icon size (16px), font size (13px), and vertical padding (6px) as
SectionHeader items. Views and sections now align visually.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Test
2026-04-04 01:33:20 +02:00
parent 17a327173b
commit 13f503691e

View File

@@ -457,7 +457,6 @@ export const Sidebar = memo(function Sidebar({
label={v.definition.name}
isActive={isSelectionActive(selection, { kind: 'view', filename: v.filename })}
onClick={() => onSelect({ kind: 'view', filename: v.filename })}
compact
/>
{onDeleteView && (
<button