mirror of
https://github.com/YouHaveTrouble/youhavetrouble.github.io.git
synced 2026-05-11 22:06:56 +00:00
possibly fix popup issues on safari attempt numero duo
This commit is contained in:
+2
-14
@@ -15,22 +15,10 @@
|
|||||||
html {
|
html {
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
scroll-behavior: smooth;
|
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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* evil hack. this will run for all browsers but safari and similar */
|
||||||
@media (pointer: coarse) {
|
@media (min-resolution: .001dpcm) {
|
||||||
[popover] {
|
[popover] {
|
||||||
&::after {
|
&::after {
|
||||||
content: "";
|
content: "";
|
||||||
|
|||||||
Reference in New Issue
Block a user