Text margin displayed incorrectly in preview

Hello,

The text margin height is ignored when I sync and preview in browser from Adobe XD. Is there anyway I can avoid this please?

Thank you!