浏览代码

Docs: Decreased the specificity of image styles to avoid FOUC.

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

+ 3 - 3
docs/assets/snippet-styles.css

@@ -39,7 +39,7 @@ It breaks CKEditor 5 (see how <p><code>[]</code></p> looks). */
 }
 
 /* examples/builds/inline-editor.html */
-.live-snippet .ck.image-style-left, .live-snippet .ck.image-style-right {
+.live-snippet .image-style-left, .live-snippet .image-style-right {
 	float: left;
 	height: auto;
 	width: 50%;
@@ -47,13 +47,13 @@ It breaks CKEditor 5 (see how <p><code>[]</code></p> looks). */
 	margin-right: 2.5rem;
 }
 
-.live-snippet .ck.image-style-right {
+.live-snippet .image-style-right {
 	float: right;
 	margin-right: 0;
 	margin-left: 2.5rem;
 }
 
-.live-snippet .ck.image img {
+.live-snippet .image img {
 	margin: 0 auto;
 }