Explorar el Código

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

Piotrek Koszuliński hace 8 años
padre
commit
d84700561a
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  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;