Explorar o código

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

Piotrek Koszuliński %!s(int64=8) %!d(string=hai) anos
pai
achega
d84700561a
Modificáronse 1 ficheiros con 6 adicións e 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;