<span> is an inline element, and I guess it's not showing because it's getting to small, maybe if you turn your span to an inline-block and adding some tailwind padding to the image, it can shows-up.
Using inline-block elements basically makes the element act like a block element.