From e1e7405821122c4b6f97bad5134b9efcd9f7af8a Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Mon, 27 Jul 2026 23:55:01 +0200 Subject: [PATCH] fix: match mail folder tree styling - remove min-h-touch, font-medium only on active, motion-safe transition --- frontend/src/components/contacts/ContactFolderTree.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/contacts/ContactFolderTree.tsx b/frontend/src/components/contacts/ContactFolderTree.tsx index ce2f217..76b0d2d 100644 --- a/frontend/src/components/contacts/ContactFolderTree.tsx +++ b/frontend/src/components/contacts/ContactFolderTree.tsx @@ -165,12 +165,12 @@ function FolderTreeItem({ onDragLeave={() => onDragLeave(node.id)} onDrop={(e) => onDrop(e, node.id)} className={clsx( - 'group flex items-center gap-1 flex-1 px-2 py-1.5 text-sm font-medium rounded-md cursor-pointer min-h-touch', - 'transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500', + 'group flex items-center gap-1 flex-1 px-2 py-1.5 text-sm rounded-md cursor-pointer', + 'motion-safe:transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500', isDragOver ? 'bg-primary-100 ring-2 ring-primary-400' : isActive - ? 'bg-primary-50 text-primary-700' + ? 'bg-primary-50 text-primary-700 font-medium' : 'text-secondary-700 hover:bg-secondary-100', )} onClick={() => {