The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 23, 15:30 UTC
fix(web): add provider wizard no longer shifts sideways while it grows (#17292)
oliver committed
Oct 10, 2026 at 00:21 UTC
500cb4266f2bb290aba2c2038295500ff7b25188
1 file changed
+5
-8
apps/web/src/components/ui/wizard.tsx
+5
-8
@@ -4,6 +4,7 @@ import type { ComponentProps, ReactNode } from "react";
4
import { cn } from "../../lib/utils";
5
import { AnimatedHeight } from "../AnimatedHeight";
6
import { DialogPopup, DialogHeader, DialogTitle, DialogDescription, DialogFooter } from "./dialog";
7
+import { ScrollArea } from "./scroll-area";
8
9
/** Compose a wizard from its header, panel, and footer; flow logic stays with the caller. */
10
export function WizardPopup({
@@ -14,14 +15,10 @@ export function WizardPopup({
15
readonly size?: "default" | "wide";
16
}) {
17
return (
17
- <DialogPopup
18
- {...props}
19
- className={cn(
20
- "overflow-x-hidden overflow-y-auto",
21
- size === "wide" ? "max-w-3xl" : "max-w-xl",
22
- )}
23
- >
24
- <div className="flex min-h-0 flex-col">{children}</div>
18
+ <DialogPopup {...props} className={size === "wide" ? "max-w-3xl" : "max-w-xl"}>
19
+ <ScrollArea className="*:data-[slot=scroll-area-scrollbar]:data-[orientation=vertical]:my-4">
20
+ <div className="flex min-h-0 flex-col">{children}</div>
21
+ </ScrollArea>
22
</DialogPopup>
23
);
24
}