mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
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:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user