Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

add correct height for A4

ammarahm-ed10c62c7de6c9
diff --git a/apps/mobile/src/services/Exporter.js b/apps/mobile/src/services/Exporter.js
index 7352d9c5a..3a012c868 100644
--- a/apps/mobile/src/services/Exporter.js
+++ b/apps/mobile/src/services/Exporter.js
@@ -10,6 +10,7 @@ import { sanitizeFilename } from '../utils/filename';
let RNFetchBlob;
const defaultStyle = `<style>
+
.img_size_one {
width:100%;
}
@@ -88,6 +89,8 @@ async function saveToPDF(note) {
html: html3,
fileName: Platform.OS === 'ios' ? '/exported/PDF/' + fileName : fileName,
directory: Platform.OS === 'ios' ? 'Documents' : androidSavePath,
+ width:595,
+ height:852
};
let res = await RNHTMLtoPDF.convert(options);