8
0
فهرست منبع

Docs: Fixed heading styling. Closes ckeditor/ckeditor5-heading#87. Closes ckeditor/ckeditor5-heading#86.

Piotrek Koszuliński 8 سال پیش
والد
کامیت
d84700561a
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 6 0
      docs/assets/snippet-styles.css

+ 6 - 0
docs/assets/snippet-styles.css

@@ -18,6 +18,12 @@
 	margin-bottom: 0;
 }
 
+/* Reset h1's styling – https://github.com/ckeditor/ckeditor5-heading/issues/86 */
+.ck-editor .ck-editor__editable h1 {
+	display: block;
+	margin-bottom: .5em;
+}
+
 .ck-reset.ck-list {
 	/* See https://github.com/ckeditor/ckeditor5/issues/494 */
 	margin-left: 0;