Skip to content

Build your personal knowledge base with Trilium Notes

small fixes

zadam8fb7dd451ec6
diff --git a/package-lock.json b/package-lock.json
index 0f3e97174a..179e90cd7d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2634,9 +2634,9 @@
}
},
"electron": {
- "version": "11.2.1",
- "resolved": "https://registry.npmjs.org/electron/-/electron-11.2.1.tgz",
- "integrity": "sha512-Im1y29Bnil+Nzs+FCTq01J1OtLbs+2ZGLLllaqX/9n5GgpdtDmZhS/++JHBsYZ+4+0n7asO+JKQgJD+CqPClzg==",
+ "version": "9.4.2",
+ "resolved": "https://registry.npmjs.org/electron/-/electron-9.4.2.tgz",
+ "integrity": "sha512-WpnJLDFHtj5eIewAi4hMHxGdbwkzjzmxsMu/BtDFCic3wpruchkskL7EV28Sg/IYTAqo6yN5ISfnFaQcLsIdng==",
"dev": true,
"requires": {
"@electron/get": "^1.0.1",
diff --git a/package.json b/package.json
index 42e2fbbc07..6468f4eab0 100644
--- a/package.json
+++ b/package.json
@@ -78,7 +78,7 @@
},
"devDependencies": {
"cross-env": "7.0.3",
- "electron": "11.2.1",
+ "electron": "9.4.2",
"electron-builder": "22.9.1",
"electron-packager": "15.2.0",
"electron-rebuild": "2.3.4",
diff --git a/src/public/app/widgets/inherited_attribute_list.js b/src/public/app/widgets/inherited_attribute_list.js
index 0251bd8a34..284ea162de 100644
--- a/src/public/app/widgets/inherited_attribute_list.js
+++ b/src/public/app/widgets/inherited_attribute_list.js
@@ -13,9 +13,7 @@ const TPL = `
color: var(--muted-text-color);
max-height: 200px;
overflow: auto;
- padding-top: 10px;
- padding-bottom: 10px;
- padding-left: 7px;
+ padding: 12px 12px 11px 12px;
}
</style>
diff --git a/src/public/app/widgets/type_widgets/file.js b/src/public/app/widgets/type_widgets/file.js
index 51d08eaa8e..7d47d41e12 100644
--- a/src/public/app/widgets/type_widgets/file.js
+++ b/src/public/app/widgets/type_widgets/file.js
@@ -7,6 +7,10 @@ import TypeWidget from "./type_widget.js";
const TPL = `
<div class="note-detail-file note-detail-printable">
<style>
+ .type-file {
+ height: 100%;
+ }
+
.note-detail-file {
padding: 10px;
display: flex;