small fixes

This commit is contained in:
zadam 2021-01-30 11:50:45 +01:00
parent 01a82bed09
commit 8fb7dd451e
4 changed files with 9 additions and 7 deletions

6
package-lock.json generated
View file

@ -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",

View file

@ -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",

View file

@ -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>

View file

@ -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;