Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

fix(ui): let the setup wizard scroll on mobile (#509)

Call Whitedc0b815ab5f8
diff --git a/ui/src/components/Wizard.tsx b/ui/src/components/Wizard.tsx
index e3d0a07d6..95b3345a8 100644
--- a/ui/src/components/Wizard.tsx
+++ b/ui/src/components/Wizard.tsx
@@ -291,8 +291,18 @@ export const Wizard: React.FC = () => {
const progressIndex = steps.findIndex((step) => step.id === stepId);
return (
- <div className={clsx('min-h-screen px-5 py-7 text-foreground md:px-10 md:py-10', wizardGlowClass)}>
- <div className="mx-auto flex min-h-[calc(100vh-4rem)] max-w-[1280px] flex-col gap-8">
+ <div
+ className={clsx(
+ // The mobile body is scroll-locked (index.css @media max-width:767px:
+ // html/body overflow-hidden) for the iOS keyboard fix. The wizard
+ // bypasses AppShell, so — like AppShell's <main> — it must be its own
+ // internal scroll container on phones, or tall steps strand the footer
+ // button below the fold. Desktop keeps normal document flow.
+ 'h-[var(--app-shell-h)] overflow-y-auto px-5 py-7 text-foreground md:h-auto md:min-h-screen md:overflow-visible md:px-10 md:py-10',
+ wizardGlowClass
+ )}
+ >
+ <div className="mx-auto flex min-h-full max-w-[1280px] flex-col gap-8 md:min-h-[calc(100vh-4rem)]">
<WizardChrome
current={Math.max(0, progressIndex)}
total={Math.max(progressTotal, 1)}