fix: remove double scrollbar on home page

Main element in AppLayout now handles scrolling (overflow-y-auto).
Removed redundant overflow-y-auto from home page wrapper.
This commit is contained in:
SnapOtter
2026-06-14 20:44:17 +08:00
parent b166f47de5
commit ae959760e3
2 changed files with 2 additions and 2 deletions
@@ -39,7 +39,7 @@ export function AppLayout({ children, breadcrumb, navVariant }: AppLayoutProps)
{/* Main content area */}
<main
id="main-content"
className={cn("flex-1 flex flex-col overflow-hidden", isMobile && "pb-20")}
className={cn("flex-1 overflow-y-auto", isMobile && "pb-20")}
>
{children}
</main>
+1 -1
View File
@@ -117,7 +117,7 @@ export function HomePage() {
return (
<AppLayout>
<div className="flex-1 overflow-y-auto">
<div>
<div className="mx-auto max-w-5xl px-4 py-6 sm:px-6">
{/* Search bar */}
<HomeSearchBar