diff --git a/src/public/stylesheets/share.css b/src/public/stylesheets/share.css index 4adf7539b..fcca8edb2 100644 --- a/src/public/stylesheets/share.css +++ b/src/public/stylesheets/share.css @@ -52,6 +52,11 @@ pre { word-wrap: anywhere; } +iframe.pdf-view { + width: 100%; + height: 800px; +} + #menuButton { display: none; position: fixed; diff --git a/src/share/content_renderer.js b/src/share/content_renderer.js index 51cb7248b..14572b062 100644 --- a/src/share/content_renderer.js +++ b/src/share/content_renderer.js @@ -77,7 +77,7 @@ function getContent(note) { } else if (note.type === 'file') { if (note.mime === 'application/pdf') { - content = `` + content = `` } else { content = ``; @@ -89,7 +89,7 @@ function getContent(note) { else { content = '
This note type cannot be displayed.
' + getChildrenList(note); } - + return content; }