mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-20 19:46:32 +08:00
fix: inconsistent database content in exported PDF (#3385)
This commit is contained in:
@@ -29,6 +29,7 @@ export async function savePDFFileAs(
|
||||
buttonLabel: 'Save',
|
||||
defaultPath: `${pageTitle}.pdf`,
|
||||
message: 'Save Page as a PDF file',
|
||||
filters: [{ name: 'PDF Files', extensions: ['pdf'] }],
|
||||
}));
|
||||
const filePath = ret.filePath;
|
||||
if (ret.canceled || !filePath) {
|
||||
|
||||
@@ -35,6 +35,11 @@ export const appStyle = style({
|
||||
'--affine-editor-width': '550px',
|
||||
},
|
||||
},
|
||||
print: {
|
||||
vars: {
|
||||
'--affine-editor-width': '800px',
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user