grgr.me

latest commits to https://grgr.me/
Log | Files | Refs

commit dfa27150062d11e2d51dd8fd5bcfa9cbdd58c39b
parent 9101b6cb674171070e2ac9de8593cb55bf1a5111
Author: corndog <cauchyn@firemail.cc>
Date:   Tue, 23 Oct 2018 22:35:56 -0700

Safari Mobile fires click if it recognizes a hover

changes display property. I'll have to conduct my
own tests to find out more, but merely changing
opacity seems to circumvent this behavior.

Wisdom from
https://tomanistor.com/blog/fixing-the-ios-mobile-double-click-link-issue/

Diffstat:
in/static/style.css | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/in/static/style.css b/in/static/style.css @@ -60,9 +60,9 @@ sup { } img.embed { - display: none; - right: 102%; + opacity: 0; position: absolute; + right: 102%; z-index: 1; } @@ -71,7 +71,7 @@ img.embed.left { } button:hover > img.embed { - display: block; + opacity: 1; } .bold-on-hover:hover {