From 1577e63e9eb6ce1b541c401979887dd4177fd96b Mon Sep 17 00:00:00 2001 From: Kibi Kelburton Date: Fri, 17 Jul 2026 09:32:54 +0200 Subject: [PATCH] prevent mobile panning and zooming --- public/s/css/f0ckm.css | 3 +++ views/index.html | 2 +- views/snippets/header.html | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/public/s/css/f0ckm.css b/public/s/css/f0ckm.css index 399c503..fba4a2a 100644 --- a/public/s/css/f0ckm.css +++ b/public/s/css/f0ckm.css @@ -9,6 +9,9 @@ /* use whatever you like */ /* once upon a time this was a stiefelstrapse! but no more! */ +html, body { + touch-action: pan-x pan-y; +} html[theme='f0ck'] { --accent: #9f0; --accent-rgb: 153, 255, 0; diff --git a/views/index.html b/views/index.html index 7fa085c..a99ba4b 100644 --- a/views/index.html +++ b/views/index.html @@ -1,7 +1,7 @@ @if(private_society && !session) 502 Bad Gateway - +

502 Bad Gateway

diff --git a/views/snippets/header.html b/views/snippets/header.html index 52faab1..08b9cea 100644 --- a/views/snippets/header.html +++ b/views/snippets/header.html @@ -52,7 +52,7 @@ @endif - + @if(typeof item !== 'undefined')