LucasD
Community Answers
-
LucasD's post in SplitText wrong height when setting overflow:hidden on other elements than lines was marked as the answer
Ok, it seems this isn't an issue related to GSAP but the way css works for inline-block elements with overflow other than visible, as read in this SO post.
The solution is to set vertical-align:'top'.
See the Pen zYEKwvY by lucasdemea (@lucasdemea) on CodePen