From 4fa6cb4afc3803850f0ae88391f65940ade9225d Mon Sep 17 00:00:00 2001 From: thislight Date: Sun, 10 Nov 2024 22:35:11 +0800 Subject: [PATCH] TootBottomSheet: fix the Scaffold overflow --- src/timelines/TootBottomSheet.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/timelines/TootBottomSheet.css b/src/timelines/TootBottomSheet.css index afe2e5d..ceb7c17 100644 --- a/src/timelines/TootBottomSheet.css +++ b/src/timelines/TootBottomSheet.css @@ -1,12 +1,12 @@ .TootBottomSheet { overflow: hidden; + height: calc(100% - var(--scaffold-topbar-height, 0px)); .Scrollable { padding-bottom: var(--safe-area-inset-bottom, 0); overflow-y: auto; overscroll-behavior-y: contain; - max-height: calc(100vh - var(--scaffold-topbar-height, 0px)); - max-height: calc(100dvh - var(--scaffold-topbar-height, 0px)); + height: 100%; } .progress-line {