From d78eaa4c59b8db2f117b8f7b153793668768a959 Mon Sep 17 00:00:00 2001 From: Zyrakq Date: Wed, 24 Jun 2026 20:53:28 +0000 Subject: [PATCH] Fix spurious scrollbar on accounts page Removed h-full from the AccountsPage root div to prevent sub-pixel height overflow from producing a spurious scrollbar Added overflow-y-auto to the TopNav main element so tall content scrolls inside the panel instead of the document body AccountsPage produced a scrollbar even when content was shorter than the viewport due to h-dvh vs 100% sub-pixel rounding in the browser --- crates/assets/js/admin/src/App.tsx | 2 +- crates/assets/js/admin/src/components/accounts/AccountsPage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/assets/js/admin/src/App.tsx b/crates/assets/js/admin/src/App.tsx index 334de320c..36259ba73 100644 --- a/crates/assets/js/admin/src/App.tsx +++ b/crates/assets/js/admin/src/App.tsx @@ -40,7 +40,7 @@ function TopNav(props: RouteSectionProps) { <> -
+
{props.children}
diff --git a/crates/assets/js/admin/src/components/accounts/AccountsPage.tsx b/crates/assets/js/admin/src/components/accounts/AccountsPage.tsx index fc3223d1a..7e1a064c3 100644 --- a/crates/assets/js/admin/src/components/accounts/AccountsPage.tsx +++ b/crates/assets/js/admin/src/components/accounts/AccountsPage.tsx @@ -414,7 +414,7 @@ export function AccountsPage() { }); return ( -
+