authorgravatar for 97427849+flamboh@users.noreply.github.comoliver <97427849+flamboh@users.noreply.github.com> 2026-10-10 00:21:14-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-10-10 02:21:14-05:00
log500cb4266f2bb290aba2c2038295500ff7b25188
treef7e862c158bd2fbabf990b7f056617b03059c20a
parent65d33177b777e014c56f01851bef446785b3aa28
signature Signed by PGP key B5690EEEBB952194

fix(web): add provider wizard no longer shifts sideways while it grows (#17292)


1 files changed, 5 insertions(+), 8 deletions(-)

apps/web/src/components/ui/wizard.tsx+5-8
......@@ -4,6 +4,7 @@ import type { ComponentProps, ReactNode } from "react";
44import { cn } from "../../lib/utils";
55import { AnimatedHeight } from "../AnimatedHeight";
66import { DialogPopup, DialogHeader, DialogTitle, DialogDescription, DialogFooter } from "./dialog";
7import { ScrollArea } from "./scroll-area";
78
89/** Compose a wizard from its header, panel, and footer; flow logic stays with the caller. */
910export function WizardPopup({
......@@ -14,14 +15,10 @@ export function WizardPopup({
1415 readonly size?: "default" | "wide";
1516}) {
1617 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>
2522 </DialogPopup>
2623 );
2724}