8
0
Просмотр исходного кода

Merge pull request #117 from ckeditor/t/116

Fix: First child of editable should always have a top margin to make sure the content is separated. Closes #116. Closes ckeditor/ckeditor5-ui#351.
Piotrek Koszuliński 8 лет назад
Родитель
Сommit
d3a07d2de9

+ 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 {