diff --git a/src/component/elements/print/PrintContent.tsx b/src/component/elements/print/PrintContent.tsx index 1c7107ed9..27fcdcd01 100644 --- a/src/component/elements/print/PrintContent.tsx +++ b/src/component/elements/print/PrintContent.tsx @@ -178,18 +178,32 @@ export function PrintContent(props: PrintFrameProps) { ); } return ( - { - setPageOptions(null); - onAfterPrint?.(); - }} - onBeforePrint={() => { - onBeforePrint?.(); - }} - > - {children} - + <> +
+ { + setPageOptions(null); + onAfterPrint?.(); + }} + onBeforePrint={() => { + onBeforePrint?.(); + }} + > + {children} + + ); }