Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop

This commit is contained in:
Adorian Doran 2025-03-20 14:40:44 +02:00
commit d189f2b66b
3 changed files with 12 additions and 7 deletions

8
package-lock.json generated
View File

@ -143,7 +143,7 @@
"@types/mime-types": "2.1.4", "@types/mime-types": "2.1.4",
"@types/multer": "1.4.12", "@types/multer": "1.4.12",
"@types/node": "22.13.10", "@types/node": "22.13.10",
"@types/react": "18.3.18", "@types/react": "18.3.19",
"@types/react-dom": "18.3.5", "@types/react-dom": "18.3.5",
"@types/safe-compare": "1.1.2", "@types/safe-compare": "1.1.2",
"@types/sanitize-html": "2.13.0", "@types/sanitize-html": "2.13.0",
@ -5941,9 +5941,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/react": { "node_modules/@types/react": {
"version": "18.3.18", "version": "18.3.19",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.18.tgz", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.19.tgz",
"integrity": "sha512-t4yC+vtgnkYjNSKlFx1jkAhH8LgTo2N/7Qvi83kdEaUtMDiwpbLAktKDaAMlRcJ5eSxZkH74eEGt1ky31d7kfQ==", "integrity": "sha512-fcdJqaHOMDbiAwJnXv6XCzX0jDW77yI3tJqYh1Byn8EL5/S628WRx9b/y3DnNe55zTukUQKrfYxiZls2dHcUMw==",
"devOptional": true, "devOptional": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

View File

@ -200,7 +200,7 @@
"@types/mime-types": "2.1.4", "@types/mime-types": "2.1.4",
"@types/multer": "1.4.12", "@types/multer": "1.4.12",
"@types/node": "22.13.10", "@types/node": "22.13.10",
"@types/react": "18.3.18", "@types/react": "18.3.19",
"@types/react-dom": "18.3.5", "@types/react-dom": "18.3.5",
"@types/safe-compare": "1.1.2", "@types/safe-compare": "1.1.2",
"@types/sanitize-html": "2.13.0", "@types/sanitize-html": "2.13.0",

View File

@ -10,12 +10,17 @@ const TPL = `<div class="note-detail-doc note-detail-printable">
} }
.note-detail-doc-content pre { .note-detail-doc-content pre {
background-color: var(--accented-background-color); border: 0;
border: 1px solid var(--main-border-color); box-shadow: var(--code-block-box-shadow);
padding: 15px; padding: 15px;
border-radius: 5px; border-radius: 5px;
} }
.note-detail-doc-content pre:not(.hljs) {
background-color: var(--accented-background-color);
border: 1px solid var(--main-border-color);
}
.note-detail-doc.contextual-help { .note-detail-doc.contextual-help {
padding-bottom: 0; padding-bottom: 0;
} }