8
0
Pārlūkot izejas kodu

Docs: Simplified snippet-styles thanks to the .ck-content class.

Aleksander Nowodzinski 7 gadi atpakaļ
vecāks
revīzija
46813984a0
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      docs/assets/snippet-styles.css

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

@@ -74,12 +74,12 @@ It breaks CKEditor 5 (see how <p><code>[]</code></p> looks). */
 	padding: 0;
 }
 
-#snippet-inline-editor .ck-editor__editable:not(.ck-editor__nested-editable) {
+#snippet-inline-editor .ck-content {
 	margin-bottom: 1rem;
 	padding: 2rem;
 }
 
-#snippet-inline-editor .ck-editor__editable:not(.ck-editor__nested-editable):not(.ck-focused) {
+#snippet-inline-editor .ck-content:not(.ck-focused) {
 	border: 1px solid rgba(0, 0, 0, 0.15);
 }