Skip to content

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

update table styles in pdf

ammarahm-ed37ebf2068126
diff --git a/apps/mobile/src/services/Exporter.js b/apps/mobile/src/services/Exporter.js
index 6768b085e..d5bd4182f 100644
--- a/apps/mobile/src/services/Exporter.js
+++ b/apps/mobile/src/services/Exporter.js
@@ -55,6 +55,33 @@ td {
border-width:0.5px;
border-style:solid;
}
+
+td,
+th {
+ min-width: 120px !important;
+}
+
+td>*,
+th>* {
+ margin: 0 !important;
+}
+
+td>*+*,
+th>*+* {
+ margin-top: 0.75em !important;
+}
+
+tr:nth-child(even) {
+ background-color: "#f0f0f0"
+}
+
+td,
+th {
+ padding: 5px !important;
+ border: 1px solid #DCDCDC !important;
+ border-left: none !important;
+ border-top: none !important;
+}
</style>`;
async function saveToPDF(note) {