From 84e4b164aa795db5b85e313f44c55ff3a2fca170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 23 Mar 2020 01:10:12 +0100 Subject: Remove scroll-snap. --- module/output/html.scm | 10 ++++++---- static/style.css | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/module/output/html.scm b/module/output/html.scm index 50203652..02a6709a 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -160,10 +160,12 @@ " continuing")) (style ,style)) (div (@ (class "event-inner")) - (div (@ (class "popup")) - ,(event-debug-html ev)) - (div (@ (class "body")) - ,((summary-filter) ev (attr ev 'SUMMARY)))))) + ;; NOTE These popup's are far from good. Main problem being that + ;; the often render off-screen for events high up on the screen. + (div (@ (class "popup")) + ,(event-debug-html ev)) + (div (@ (class "body")) + ,((summary-filter) ev (attr ev 'SUMMARY)))))) ) diff --git a/static/style.css b/static/style.css index 70e2ade7..7830c48c 100644 --- a/static/style.css +++ b/static/style.css @@ -220,7 +220,7 @@ html, body { height: 100%; padding: 0; overflow-x: scroll; - scroll-snap-type: x mandatory; + /* scroll-snap-type: x mandatory; */ } .events { @@ -230,7 +230,7 @@ html, body { /* flex-grow: 1; */ /* since day container no longer exists */ border: 1px solid gray; - scroll-snap-align: start; + /* scroll-snap-align: start; */ } /* Clockbar is also .events */ -- cgit v1.2.3