8
0
فهرست منبع

Fix: A lone paragraph should be vertically centred in the editor. Closes ckeditor/ckeditor5#847.

Aleksander Nowodzinski 7 سال پیش
والد
کامیت
19c5a3ff2a
1فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  1. 6 1
      packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css

+ 6 - 1
packages/ckeditor5-theme-lark/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);
 	}
 }