From e174b7aafdb20f8cbdbf65a606acb54bd6a7b50e Mon Sep 17 00:00:00 2001 From: thislight Date: Tue, 19 Nov 2024 18:10:13 +0800 Subject: [PATCH] Settings: fix sticky headers --- src/settings/Settings.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx index ad55634..219052d 100644 --- a/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx @@ -182,7 +182,8 @@ const Settings: Component = () => { .setting-list { padding-bottom: calc(var(--safe-area-inset-bottom, 0px) + 16px); overflow: hidden auto; - height: calc(100% - var(--scaffold-topbar-height, 0)); + height: calc(100vh - var(--scaffold-topbar-height, 0)); + height: calc(100dvh - var(--scaffold-topbar-height, 0)); } `; return (