diff --git a/customize.dist/ckeditor-contents.css b/customize.dist/ckeditor-contents.css index d86a12d44..633c7e7f8 100644 --- a/customize.dist/ckeditor-contents.css +++ b/customize.dist/ckeditor-contents.css @@ -16,6 +16,12 @@ body background-color: #fff; margin: 20px; + padding: 20px; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; } .cke_editable diff --git a/www/pad/inner.js b/www/pad/inner.js index 8f09b91ab..a818c8ca9 100644 --- a/www/pad/inner.js +++ b/www/pad/inner.js @@ -785,7 +785,7 @@ define([ 'max-width: 50em; padding: 20px 30px; margin: 0 auto; min-height: 100%;'+ 'box-sizing: border-box; overflow: auto;'+ '}' + - '.cke_body_width body > *:first-child { margin-top: 0; }' + + '.cke_body_width body > *:first-child { margin-top: 0; }'; Ckeditor.addCss(newCss); Ckeditor._mediatagTranslations = { title: Messages.pad_mediatagTitle,