Skip to content

Commit a649504

Browse files
committed
Fixed the issue of scrollbar appearing during the setup page initialization animation.
1 parent 8bac0b6 commit a649504

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

frontend/app/[locale]/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,8 @@ export default function Home() {
506506
? "centered"
507507
: currentView === "memory" ||
508508
currentView === "models" ||
509-
currentView === "knowledges"
509+
currentView === "knowledges" ||
510+
currentView === "setup"
510511
? "centered"
511512
: currentView === "chat"
512513
? "fullscreen"

frontend/app/[locale]/setup/SetupLayout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ export default function SetupLayout({
194194
completeText,
195195
}: SetupLayoutProps) {
196196
return (
197-
<div className="w-full h-full bg-slate-50 dark:bg-slate-900 font-sans">
197+
<div className="w-full h-full bg-slate-50 dark:bg-slate-900 font-sans overflow-hidden">
198198
{/* Main content with fixed size */}
199199
<div className="max-w-[1800px] mx-auto px-8 pb-6 pt-6 bg-transparent h-full flex flex-col">
200-
<div className="flex-1 overflow-auto w-full h-full flex items-center justify-center">
200+
<div className="flex-1 w-full h-full flex items-center justify-center">
201201
{children}
202202
</div>
203203
<Navigation

0 commit comments

Comments
 (0)