8
0
فهرست منبع

Fix: First child of editable should always have top margin to make sure the content is separated. Closes #351.

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

+ 5 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css

@@ -22,6 +22,11 @@
 	overflow: auto;
 	padding: 0 var(--ck-spacing-standard);
 	border: 1px solid transparent;
+
+	/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/116 */
+	& > *:first-child {
+		margin-top: var(--ck-spacing-standard);
+	}
 }
 
 .ck-editor-toolbar {