From cc0087bbf1e6c74f85ea3584895fa728d23d3989 Mon Sep 17 00:00:00 2001 From: claude-ceo-assistant Date: Mon, 25 May 2026 01:11:10 -0700 Subject: [PATCH] fix: render PDF previews in framed viewer --- .../src/components/tabs/chat/AttachmentPDF.tsx | 16 +++++++--------- .../tabs/chat/__tests__/AttachmentPDF.test.tsx | 11 +++++++---- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/canvas/src/components/tabs/chat/AttachmentPDF.tsx b/canvas/src/components/tabs/chat/AttachmentPDF.tsx index 784aa4446..8b519549a 100644 --- a/canvas/src/components/tabs/chat/AttachmentPDF.tsx +++ b/canvas/src/components/tabs/chat/AttachmentPDF.tsx @@ -145,15 +145,13 @@ export function AttachmentPDF({ workspaceId, attachment, onDownload, tone }: Pro onClose={() => setOpen(false)} ariaLabel={`Preview of ${attachment.name}`} > - +
+