From 2c461d8235bc335181b9007a1c680b6249ee74bc Mon Sep 17 00:00:00 2001 From: Cyril Date: Tue, 28 Oct 2025 13:56:44 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(frontend)=20fix=20pdf=20embed=20to=20?= =?UTF-8?q?use=20full=20width?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Cyril --- CHANGELOG.md | 2 ++ .../docs/doc-editor/components/custom-blocks/PdfBlock.tsx | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a86e0f222..8192345c61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,9 @@ and this project adheres to - 🐛(frontend) fix duplicate document entries in grid #1479 - 🐛(frontend) show full nested doc names with ajustable bar #1456 +- 🐛(frontend) fix pdf embed to use full width #1526 - 🐛(backend) fix trashbin list + - ♿(frontend) improve accessibility: - ♿(frontend) remove empty alt on logo due to Axe a11y error #1516 - 🐛(backend) fix s3 version_id validation diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/PdfBlock.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/PdfBlock.tsx index b79421a854..b0651d4e70 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/PdfBlock.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/PdfBlock.tsx @@ -22,8 +22,8 @@ import { Box, Icon } from '@/components'; import { DocsBlockNoteEditor } from '../../types'; const PDFBlockStyle = createGlobalStyle` - .bn-block-content[data-content-type="pdf"] { - width: fit-content; + .bn-block-content[data-content-type="pdf"] .bn-file-block-content-wrapper[style*="fit-content"] { + width: 100% !important; } `;