Kaynağa Gözat

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

Aleksander Nowodzinski 7 yıl önce
ebeveyn
işleme
5cdb902af5
1 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  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;