瀏覽代碼

Merge pull request #1293 from ckeditor/t/1291

Docs: Normalised the line-height of the table content in the document editor example. Closes #1291.
Aleksander Nowodzinski 7 年之前
父節點
當前提交
700f6447d4
共有 1 個文件被更改,包括 2 次插入9 次删除
  1. 2 9
      docs/_snippets/examples/document-editor.html

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

@@ -137,7 +137,8 @@
 
 	/* Scale down all heading previews because they are way too big to be presented in the UI.
 	Preserve the relative scale, though. */
-	.document-editor .ck-heading-dropdown .ck-list .ck-button:not(.ck-heading_paragraph) .ck-button__label {
+	.document-editor .ck-heading-dropdown .ck-list .ck-heading_heading1 .ck-button__label,
+	.document-editor .ck-heading-dropdown .ck-list .ck-heading_heading2 .ck-button__label {
 		transform: scale(0.8);
 		transform-origin: left;
 	}
@@ -187,14 +188,6 @@
 		margin-bottom: .952em;
 	}
 
-	/* Set the styles for "Paragraph". */
-	.document-editor .ck-content p {
-		font-size: 1em;
-		line-height: 1.63em;
-		padding-top: .5em;
-		margin-bottom: 1.13em;
-	}
-
 	/* Make the block quoted text serif with some additional spacing. */
 	.document-editor .ck-content blockquote {
 		font-family: Georgia, serif;