retypeapp / retype

Retype is an ✨ ultra-high-performance✨ static site generator that builds a website based on simple text files.
https://retype.com
Other
1.08k stars 206 forks source link

[Bug][Mobile] Reference Link component: cannot open link #707

Open cclypeatus opened 2 months ago

cclypeatus commented 2 months ago

When tapping a ref link on mobile, the border will darken as if hovered/focused on but the link won't open. Works fine on desktop Firefox, just not on mobile Safari and Firefox.

I tried adjusting the link's z-index to different values:

So either the solution is in another castle or in mobile there's an overlapping element with a ridiculous z-index for some reason.

This was the selector I used for the link:

.mb-6.px-5.py-4.flex.justify-between.relative.border.border-gray-300.rounded.transition-colors.duration-150 > a