1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-03-26 21:12:59 +02:00

Electron: Fix #759: Add border around code block when exporting to PDF

This commit is contained in:
Laurent Cozic 2018-09-05 14:59:33 +01:00
parent 81ac200cc0
commit ef1ae63233

View File

@ -567,6 +567,12 @@ class MdToHtml {
width: auto;
max-width: 100%;
}
.inline-code {
border: 1px solid #CBCBCB;
background-color: #eff0f1;
padding-right: .2em;
padding-left: .2em;
}
@media print {
body {
@ -596,13 +602,10 @@ class MdToHtml {
pre {
white-space: pre-wrap;
}
}
.inline-code {
border: 1px solid #CBCBCB;
background-color: #eff0f1;
padding-right: .2em;
padding-left: .2em;
.code, .inline-code {
border: 1px solid #CBCBCB;
}
}
`;