Kaynağa Gözat

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

Damian Konopka 7 yıl önce
ebeveyn
işleme
e7c62071cc
1 değiştirilmiş dosya ile 5 ekleme ve 2 silme
  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;