浏览代码

Made the table snippet styles more specific to avoid collisions with the Umberto page styles.

Aleksander Nowodzinski 7 年之前
父节点
当前提交
5cdb902af5
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      docs/assets/snippet-styles.css

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

@@ -74,6 +74,12 @@ It breaks CKEditor 5 (see how <p><code>[]</code></p> looks). */
 	padding: 0;
 }
 
+/* https://github.com/ckeditor/ckeditor5/pull/1060 */
+.live-snippet .ck.ck-content .table table {
+	margin: 0;
+	display: table;
+}
+
 #snippet-inline-editor .ck-content {
 	margin-bottom: 1rem;
 	padding: 2rem;