💄 Update pay wall dialog

This commit is contained in:
Luke Vella 2024-09-18 23:52:33 +01:00
parent edf8e93808
commit 0f5073c257
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C
2 changed files with 108 additions and 99 deletions

View file

@ -53,7 +53,8 @@ const DialogContent = React.forwardRef<
<DialogPrimitive.Content
ref={ref}
className={cn(
"animate-in data-[state=open]:fade-in data-[state=open]:slide-in-from-top-8 shadow-huge z-50 grid w-full translate-y-0 gap-4 overflow-hidden rounded-md bg-white p-4",
"animate-in data-[state=open]:fade-in data-[state=open]:slide-in-from-top-8 shadow-huge z-50 grid w-full translate-y-0 gap-4 overflow-y-auto rounded-md bg-white p-4",
"max-h-[calc(100vh-2rem)]", // Add this line
{
"sm:max-w-sm": size === "sm",
"sm:max-w-md": size === "md",