From 814ac075819a646102e46412dc33c5755c242ec2 Mon Sep 17 00:00:00 2001 From: thislight Date: Sun, 10 Nov 2024 22:48:04 +0800 Subject: [PATCH] App: set container height 100vh --- src/App.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/App.css b/src/App.css index d0705cf..abcc2e9 100644 --- a/src/App.css +++ b/src/App.css @@ -7,12 +7,14 @@ --safe-area-inset-bottom: env(safe-area-inset-bottom); --safe-area-inset-right: env(safe-area-inset-right); background-color: var(--tutu-color-surface, transparent); - overscroll-behavior-block: none; + overscroll-behavior-y: none; /* FIXME: Safari 15.4 does not support this, requires 16+ */ } :root, body, #root { min-height: 100vh; min-height: 100dvh; + height: 100vh; + height: 100dvh; } .custom-emoji {