fix: match mail folder tree styling - remove min-h-touch, font-medium only on active, motion-safe transition
This commit is contained in:
@@ -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={() => {
|
||||
|
||||
Reference in New Issue
Block a user