Fix long-press issue for iPhone

This commit is contained in:
Alan Grainger
2026-10-05 11:22:22 +13:00
parent 588174f62e
commit 65958ae899
2 changed files with 14 additions and 0 deletions
+8
View File
@@ -180,6 +180,14 @@ html, body {
}
}
/* Long-press selects these tiles, so iOS mustn't open its link preview and menu */
#gallery a:has(.tile-check),
#gallery a:has(.tile-check) img {
-webkit-touch-callout: none;
-webkit-user-select: none;
user-select: none;
}
/* Touch outside select mode: no invisible tap target. Long-press selects */
@media (hover: none) {
#gallery:not(.select-mode) .tile-check {