fix(workspace): remove explicit add button and keep empty space click-to-add bullet
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 1m0s

This commit is contained in:
sandrodach committed 2026-10-25 13:16:14 +01:00
1 parent b5df4a34b4
commit 332dbb456a
1 file changed
+8 -8
@@ -2608,7 +2608,7 @@ export const WorkspaceView: React.FC<WorkspaceViewProps> = ({
{/* LOGSEQ HIERARCHICAL BULLET LIST CANVAS */}
{/* =========================================================== */}
<div
className="space-y-1 pt-2 min-h-[400px] pb-20 cursor-text"
className="space-y-1 pt-2 min-h-[500px] pb-16 flex flex-col cursor-text"
onClick={(e) => {
if (e.target === e.currentTarget) {
handleCanvasBottomClick();
@@ -3009,15 +3009,15 @@ export const WorkspaceView: React.FC<WorkspaceViewProps> = ({
);
})}
{/* Explicit bottom clickable area */}
{/* Empty area below blocks to click and seamlessly focus or create bullet */}
{!isReadOnly && (
<div
className="pt-3 pb-8 px-2 text-xs text-faint hover:text-muted cursor-pointer transition-colors flex items-center gap-1.5 opacity-60 hover:opacity-100 select-none"
onClick={handleCanvasBottomClick}
>
<Plus className="w-3.5 h-3.5 text-accent" />
<span>Neuen Punkt hinzufügen...</span>
</div>
className="flex-1 min-h-[250px] cursor-text"
onClick={(e) => {
e.stopPropagation();
handleCanvasBottomClick();
}}
/>
)}
</div>
</div>