Island label shows up to 3 lines so the part number of split islands stays visible

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-12 10:54:34 +03:30
parent f569ece55b
commit 18eeb54327

View File

@@ -100,7 +100,7 @@ export const IslandPath = forwardRef<HTMLDivElement, {
points[i].x >= 50 ? 'right-full mr-3 text-right' : 'left-full ml-3 text-left' points[i].x >= 50 ? 'right-full mr-3 text-right' : 'left-full ml-3 text-left'
} ${current ? 'text-[12px] text-ink' : locked ? 'text-faint' : 'text-muted'}`} } ${current ? 'text-[12px] text-ink' : locked ? 'text-faint' : 'text-muted'}`}
> >
<span className="line-clamp-2"><MathText text={node.title} /></span> <span className="line-clamp-3"><MathText text={node.title} /></span>
</div> </div>
</motion.div> </motion.div>
); );