Openstatus www.openstatus.dev

fix: overflow (#1644)

authored by

Maximilian Kaske and committed by
GitHub
57f471a7 c8457728

+2 -4
+2 -4
apps/dashboard/src/components/forms/monitor/form-general.tsx
··· 952 952 failed. Do you want to save the monitor anyway? 953 953 </AlertDialogDescription> 954 954 </AlertDialogHeader> 955 - <div className="rounded-md border border-destructive/20 bg-destructive/10 p-2"> 956 - <p className="whitespace-pre-wrap font-mono text-destructive text-sm"> 957 - {error} 958 - </p> 955 + <div className="max-h-48 overflow-auto whitespace-pre rounded-md border border-destructive/20 bg-destructive/10 p-2"> 956 + <p className="font-mono text-destructive text-sm">{error}</p> 959 957 </div> 960 958 <AlertDialogFooter> 961 959 <AlertDialogCancel type="button">Cancel</AlertDialogCancel>