From 19a6d89d4f4a18d7a17b2bbcc622702660014504 Mon Sep 17 00:00:00 2001 From: zadam Date: Sat, 21 Aug 2021 20:19:02 +0200 Subject: [PATCH] fix include note PDF sizing, closes #2116 --- package.json | 2 +- src/public/stylesheets/style.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 2434e6150..8c8f74a7f 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ }, "devDependencies": { "cross-env": "7.0.3", - "electron": "13.1.4", + "electron": "13.2.1", "electron-builder": "22.11.1", "electron-packager": "15.2.0", "electron-rebuild": "2.3.5", diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index 09a28c4c1..5800f99e6 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -732,11 +732,11 @@ a.external:not(.no-arrow):after, a[href^="http://"]:not(.no-arrow):after, a[href overflow: auto; } -.include-note.box-size-medium .include-note-content.type-pdf { +.include-note.box-size-medium .include-note-content.type-pdf .rendered-note-content { height: 20em; /* PDF is rendered in iframe and must be sized absolutely */ } -.include-note.box-size-full .include-note-content.type-pdf { +.include-note.box-size-full .include-note-content.type-pdf .rendered-note-content { height: 50em; /* PDF is rendered in iframe and it's not possible to put full height so at least a large height */ }