8
0
Quellcode durchsuchen

[Docs] Fixed proper line-height for single <span> inside table in the document editor.

Damian Konopka vor 7 Jahren
Ursprung
Commit
e7c62071cc
1 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
  1. 5 2
      docs/_snippets/examples/document-editor.html

+ 5 - 2
docs/_snippets/examples/document-editor.html

@@ -177,8 +177,11 @@
 		margin-bottom: .952em;
 	}
 
-	/* Set the styles for "Paragraph". */
-	.document-editor .ck-content p {
+	/* Set the styles for "Paragraph" and single <span> inside table.
+	https://github.com/ckeditor/ckeditor5/issues/1291 */
+	.document-editor .ck-content p,
+	.document-editor .ck-content table th > span,
+	.document-editor .ck-content table td > span {
 		font-size: 1em;
 		line-height: 1.63em;
 		padding-top: .5em;