From 459ee8c7e35381fbd65bb8d3045dbc7b5755d552 Mon Sep 17 00:00:00 2001 From: Test Date: Tue, 31 Mar 2026 16:30:22 +0200 Subject: [PATCH] fix: normalize property row and chip heights for consistent layout All chips (type, status, date, tags, boolean, color, text, URL) now use h-6 (24px) with inline-flex + items-center, and PropertyRow has min-h-7 (28px) so every row aligns regardless of property type. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/components/ColorInput.tsx | 4 ++-- src/components/DynamicPropertiesPanel.tsx | 2 +- src/components/EditableValue.tsx | 12 ++++++------ src/components/PropertyValueCells.tsx | 14 +++++++------- src/components/TypeSelector.tsx | 5 +++-- 5 files changed, 19 insertions(+), 18 deletions(-) diff --git a/src/components/ColorInput.tsx b/src/components/ColorInput.tsx index 9f04e8e2..31dc5ab1 100644 --- a/src/components/ColorInput.tsx +++ b/src/components/ColorInput.tsx @@ -99,10 +99,10 @@ export function ColorEditableValue({ value, isEditing, onStartEdit, onSave, onCa } return ( - + {showSwatch && } diff --git a/src/components/DynamicPropertiesPanel.tsx b/src/components/DynamicPropertiesPanel.tsx index b3abebde..3d245261 100644 --- a/src/components/DynamicPropertiesPanel.tsx +++ b/src/components/DynamicPropertiesPanel.tsx @@ -53,7 +53,7 @@ function PropertyRow({ propKey, value, editingKey, displayMode, autoMode, vaultS } return ( -
+
{toSentenceCase(propKey)} {onDelete && ( diff --git a/src/components/EditableValue.tsx b/src/components/EditableValue.tsx index cf471e86..b17f77d3 100644 --- a/src/components/EditableValue.tsx +++ b/src/components/EditableValue.tsx @@ -66,7 +66,7 @@ export function UrlValue({ return ( @@ -212,11 +212,11 @@ export function TagPillList({ ) : ( ) : ( ) : ( @@ -68,7 +68,8 @@ export function TypeSelector({ isA, customColorKey, availableTypes, typeColorKey background: typeLightColor ?? undefined, color: typeColor ?? undefined, borderRadius: 6, - padding: '4px 8px', + padding: '0 8px', + height: 24, fontSize: 12, fontWeight: 500, }}