fix the code in the code dialog falling off the dialog
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m32s

This commit is contained in:
Lee 2024-04-22 22:56:34 +01:00
parent 1e96ed1b1c
commit a0b8777a94

@ -37,7 +37,7 @@ export function CodeDialog({ title, description, code, children }: CodeDialogPro
return (
<Dialog>
<DialogTrigger asChild>{children}</DialogTrigger>
<DialogContent className="max-h-screen md:max-h-[700px] min-w-screen md:min-w-fit text-sm">
<DialogContent className="text-sm">
<DialogHeader>
<DialogTitle>{title}</DialogTitle>
<DialogDescription>{description}</DialogDescription>