aboutsummaryrefslogtreecommitdiff
path: root/src/web/index.css
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-05-28 23:12:46 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2026-05-28 23:12:46 +0200
commitef2f7d38d64b2be9f388be3809ba1d07e2bc2282 (patch)
tree3ea1776afa6c436433d4525aacf7aa95825f49af /src/web/index.css
parentcd7883d16956d80c67a91c4e07be5335f4de5c39 (diff)
timeline: fix pinch-zoom offset
Diffstat (limited to 'src/web/index.css')
-rw-r--r--src/web/index.css11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/web/index.css b/src/web/index.css
index 3c6b0d6..934c713 100644
--- a/src/web/index.css
+++ b/src/web/index.css
@@ -1,12 +1,19 @@
+html {
+ height: 100vh;
+ width: 100vw;
+}
+
body {
padding: 0;
margin: 0;
width: 100vw;
height: 100vh;
- touch-action: pan-y; /* Prevent default touch behavior */
+ overflow: hidden;
+ touch-action: pan-y;
}
#timeline {
display: block;
- height: 100%;
+ height: 100vh;
+ overflow-y: auto;
}