diff --git a/www/common/diffMarked.js b/www/common/diffMarked.js index 42da27b97..f72d5277e 100644 --- a/www/common/diffMarked.js +++ b/www/common/diffMarked.js @@ -60,6 +60,10 @@ define([ return out; }; + renderer.paragraph = function (p) { + return //i.test(p)? p + '\n': '

' + p + '

\n'; + }; + var MutationObserver = window.MutationObserver; var forbiddenTags = [ 'SCRIPT', diff --git a/www/slide/slide.less b/www/slide/slide.less index ef50796b9..0e8c414db 100644 --- a/www/slide/slide.less +++ b/www/slide/slide.less @@ -336,6 +336,15 @@ div#modal #content, #print { padding-left: 0.3em; } + // fixes image overflowing + media-tag { + height: 100%; + + & + * { + margin-top: 1rem; + } + } + img { position: relative; min-width: 1%;