style: folders without arrow, hashtag row cut off with an expander
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 1m53s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
sandrodachandClaude Opus 5.5 committed 2026-11-01 16:51:27 +01:00
1 parent 6fb98d4002
commit 3de6c6088b
6 files changed
+53 -16

No files matched your search

@@ -164,13 +164,7 @@ const FolderTreeItem: React.FC<FolderTreeItemProps> = ({
}
className="flex items-center gap-1.5 flex-1 min-w-0 text-left h-full cursor-pointer"
>
{hasContent ? (
isExpanded ? (
<ChevronDown className="w-3.5 h-3.5 text-faint shrink-0" />
) : (
<ChevronRight className="w-3.5 h-3.5 text-faint shrink-0" />
)
) : null}
{/* No arrow: the open/closed folder icon shows the state, and empty folders line up the same */}
{isExpanded ? (
<FolderOpen className="w-3.5 h-3.5 text-accent shrink-0" />
) : (
@@ -271,7 +265,7 @@ const FolderTreeItem: React.FC<FolderTreeItemProps> = ({
{...docDropProps(d.id)}
onMouseDown={(e) => e.shiftKey && e.preventDefault()}
onClick={(e) => onDocRowClick(e, d.id, () => onSelectDoc(d.id))}
style={{ paddingLeft: `${(depth + 1) * 12 + 16}px` }}
style={{ paddingLeft: `${(depth + 1) * 12 + 9}px` }}
className={`w-full flex items-center gap-2 pr-2 py-1.5 min-h-11 sm:min-h-0 rounded-btn text-left text-sm sm:text-xs cursor-pointer border transition-colors ${
mergeHoverId === d.id
? 'border-accent bg-accent/15 ring-2 ring-accent/30 text-main'
@@ -289,7 +283,7 @@ const FolderTreeItem: React.FC<FolderTreeItemProps> = ({
{!hasContent && (
<div
style={{ paddingLeft: `${(depth + 1) * 12 + 16}px` }}
style={{ paddingLeft: `${(depth + 1) * 12 + 9}px` }}
className="py-1 text-[10px] text-faint italic"
>
Leer