This commit is contained in:
Linus Rath
2026-04-21 14:12:03 +02:00
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ export function FilePreviewModal({ name, onClose, onDownload, getFileContent }:
{!loading && !error && fileType === "pdf" && objectUrl && (
<iframe
src={objectUrl}
sandbox="allow-same-origin"
sandbox="allow-scripts"
className="w-full max-w-5xl h-full rounded-lg bg-white"
title={name}
/>