Components variant animation not working properly in preview

Hi, i designed a text with an animation that underlines it on hover. The animation in preview mode doesn’t work/is broken and only shows if i zoom in. If i increase the font-size of the text (previously 16px) to 30px, the animation works properly without any need of zoom.

Anyone know a fix for this? I can’t just resize every element.
Thank you very much.