8
0
Quellcode durchsuchen

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

Aleksander Nowodzinski vor 7 Jahren
Ursprung
Commit
46813984a0
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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);
 }