From 0e463da5a8a1e584d0445cefa307365e7b0635c9 Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Mon, 28 Jul 2025 21:17:09 +0200 Subject: [PATCH] possibly fix popup issues on safari attempt numero duo --- src/styles/global.css | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/styles/global.css b/src/styles/global.css index 2bfe404..88e4b76 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -15,22 +15,10 @@ html { overflow-y: scroll; scroll-behavior: smooth; - *:has(:popover-open) { - pointer-events: none; - touch-action: none; - [popover] { - pointer-events: auto; - touch-action: auto; - } - ::backdrop { - pointer-events: all; - touch-action: manipulation; - } - } } - -@media (pointer: coarse) { +/* evil hack. this will run for all browsers but safari and similar */ +@media (min-resolution: .001dpcm) { [popover] { &::after { content: "";