Skip to content
Browse files

Desktop: Fixes #1815: Fixed cropped content issue when printing or ex…

…porting to PDF
  • Loading branch information...
laurent22 committed Sep 4, 2019
1 parent ccfc80a commit 10e22654ea21c15006338f497af0c86f53736ec4
Showing with 8 additions and 0 deletions.
  1. +8 −0 ReactNativeClient/lib/renderers/noteStyle.js
@@ -253,6 +253,14 @@ module.exports = function(style, options) {
.code, .inline-code {
border: 1px solid #CBCBCB;
#content {
/* The height of the content is set dynamically by JavaScript (in updateBodyHeight) to go
around various issues related to scrolling. However when printing we don't want this
fixed size as that would crop the content. So we set it to auto here. "important" is
needed to override the style set by JavaScript at the element-level. */
height: auto !important;

0 comments on commit 10e2265

Please sign in to comment.
You can’t perform that action at this time.