1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-20 23:30:05 +02:00

Electron: Resolves #237: Export to PDF and print option

This commit is contained in:
Laurent Cozic
2018-03-12 18:01:47 +00:00
parent dbe1833f92
commit eef106c99b
6 changed files with 104 additions and 12 deletions

View File

@@ -495,9 +495,30 @@ class MdToHtml {
max-width: 100%;
}
.katex .mfrac .frac-line:before {
/* top: 50%; */
/* padding-bottom: .7em; */
@media print {
body {
height: auto !important;
}
a.checkbox {
border: 1pt solid ` + style.htmlColor + `;
border-radius: 2pt;
width: 1em;
height: 1em;
line-height: 1em;
text-align: center;
top: .4em;
}
a.checkbox.tick:after {
content: "X";
}
a.checkbox.tick {
top: 0;
left: -0.02em;
color: ` + style.htmlColor + `;
}
}
`;