From 1702eaa830d49bc2a28079ffb0ca9a42ff8b34d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 28 May 2019 17:44:41 +0200 Subject: Fix some minor styling issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/components/Editor.vue | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'src/components/Editor.vue') diff --git a/src/components/Editor.vue b/src/components/Editor.vue index eca54d76a..ec553b626 100644 --- a/src/components/Editor.vue +++ b/src/components/Editor.vue @@ -41,21 +41,22 @@ + - H4 - H5 - H6 + Heading 4 + Heading 5 + Heading 6 + Code block + Blockquote - - @@ -407,7 +408,7 @@ export default { showImagePrompt(command) { const _command = command OC.dialogs.filepicker('Insert an image', (file) => { - const src = OC.generateUrl('/core/preview.png?') + `file=${file}&x=1024&y=1024` + const src = OC.generateUrl('/core/preview.png?') + `file=${file}&x=1024&y=1024&a=true` _command({ src }) // TODO: check permissions // TODO: check for available preview @@ -623,6 +624,11 @@ export default { } } + .editor__content { + max-width: 800px; + margin: auto; + } +