+ {docItems.map((item) => (
+
+
+
+
+ handleJumpToDocBlock(item.doc.id, item.blockId)
+ }
+ className={`truncate flex-1 ${
+ item.checked
+ ? 'line-through text-faint'
+ : 'text-main font-medium group-hover:text-accent'
+ }`}
+ >
+ {item.content}
+
+
-
handleJumpToDocBlock(item.doc.id, item.blockId)
}
- className={`truncate flex-1 ${
- item.checked
- ? 'line-through text-faint'
- : 'text-main font-medium group-hover:text-accent'
- }`}
+ className="text-faint hover:text-accent opacity-0 group-hover:opacity-100 transition-opacity p-1"
+ title="Zu dieser Zeile springen"
>
- {item.content}
-
+
+