Skip to content

Commit 9591dc5

Browse files
committed
✨(frontend) fix pdf embed to use full width
Signed-off-by: Cyril <[email protected]>
1 parent e5581e5 commit 9591dc5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ and this project adheres to
2121
### Fixed
2222

2323
- 🐛(frontend) fix duplicate document entries in grid #1479
24+
- 🐛(frontend) show full nested doc names with ajustable bar #1456
25+
- 🐛(frontend) fix pdf embed to use full width #1526
2426
- 🐛(backend) fix trashbin list
27+
2528
- ♿(frontend) improve accessibility:
2629
- ♿(frontend) remove empty alt on logo due to Axe a11y error #1516
2730
- 🐛(backend) fix s3 version_id validation

src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/PdfBlock.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import { Box, Icon } from '@/components';
2222
import { DocsBlockNoteEditor } from '../../types';
2323

2424
const PDFBlockStyle = createGlobalStyle`
25-
.bn-block-content[data-content-type="pdf"] {
26-
width: fit-content;
25+
.bn-block-content[data-content-type="pdf"] .bn-file-block-content-wrapper[style*="fit-content"] {
26+
width: 100% !important;
2727
}
2828
`;
2929

0 commit comments

Comments
 (0)