79176702

Date: 2024-11-11 07:20:29
Score: 3
Natty:
Report link

Found solution in this post: Detect which element flex-wrap affects. Using getBoundingClientRect() found difference of 'top' between current and next word and by that got the index of last word in-line.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Andrey