From ce89325d26754d20cbe902632d8b32facc492218 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Fri, 16 Feb 2018 11:39:08 +0100 Subject: [PATCH] Fix: A lone paragraph should be vertically centred in the editor. Closes ckeditor/ckeditor5#847. --- theme/ckeditor5-ui/components/editorui/editorui.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/theme/ckeditor5-ui/components/editorui/editorui.css b/theme/ckeditor5-ui/components/editorui/editorui.css index b6b04c8..3770cfe 100644 --- a/theme/ckeditor5-ui/components/editorui/editorui.css +++ b/theme/ckeditor5-ui/components/editorui/editorui.css @@ -25,7 +25,12 @@ /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/116 */ & > *:first-child { - margin-top: var(--ck-spacing-standard); + margin-top: var(--ck-spacing-large); + } + + /* https://github.com/ckeditor/ckeditor5/issues/847 */ + & > *:last-child { + margin-bottom: var(--ck-spacing-large); } }